Unable set permission via script

Advertisement

ManiThanga
Joined:
Posts:
2
Location:
Toronto

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>

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum