Post a reply

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

ManiThanga

Thanks...

Thanks Martin!
martin

Re: Unable set permission via script

Please read FAQ. If that does not help, come back.
ManiThanga

Unable set permission via script

Hi, I am new to WinSCP (V4.0.7). I have created a script to copy files. However, I am unable to use the permissions command in the script. Any help would be appriciated. Thanks...

This one works:
put D:\y.txt /D:/MSL/PrivateMB/MomSecureTestup/

This one produce the below error message:
put -permissions=777 D:\y.txt /D:/MSL/PrivateMB/MomSecureTestup/

-permissions=777 | 0 kB | 0.0 kB/s | binary | 0%
File or folder '-permissions=777' does not exist.
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
winscp>