Topic "How to set 'Ignore permission errors' option in script?"

Author Message
Sanjay

Guest


Hi,

I am getting the below error while uploading a file through scripting.

Upload of file 'test.txt' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option

Can someone help me on this? How can I use 'Ignore permission errors' in script?

Many thanks,
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You should better turn off the option that actually causes the problem (-nopermissions or -nopreservetime).

For answer to your question, please read FAQ.
_________________
Martin Prikryl
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