Topic "Unable set permission via script"

Author Message
ManiThanga
[View user's profile]

Joined: 2009-02-13
Posts: 2
Location: Toronto
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>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
ManiThanga
[View user's profile]

Joined: 2009-02-13
Posts: 2
Location: Toronto
Thanks Martin!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License