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

Author Message



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,
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
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

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License