Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Script should change the permission of those files which I a

You need to be an owner of the files to have permissions to change their properties.
Ganesh_Pagar

Script should change the permission of those files which I a

I am transferring few html files from windows to UNIX box

Following is my script
open corrftps:Sad4ren3@corr-ema.csfb.net:22
option batch abort
option confirm off
lcd "C:/ganesh/Applications/RnA/APACScript/html"
cd /app/securities/corr/config/mydomain/applications/distribution/researchprofiles/nonresearch
put *.html
chmod 777 *.html
close


On UNIX box other user has also placed his HTML. so Script can not change permission of these files.
My reuirement is: Script should change the permission of those files which I am transferring.



Currently I am getting error Cannot change properties of file 'Mobile_Edition.html'.
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 9

because these files are belongs to other user.