Topic "Synchronization error occurred while setting the permissions"

Author Message
mabc
[View user's profile]

Joined: 2013-02-20
Posts: 7
Hello,

I am using the below command to synchronize files; however I get the following error: upload of file XXX was successful but error occurred while setting the permissions and/or timestamp. I added -nopermissions and -nopreservetime in hopes that this would resolve the issue but no such luck. I appreciate any and all assistance.

synchronize remote -nopermissions -nopreservetime -delete C:\productPDFs\ /productInfo/

I'm running WinSCP 5.1.5

Thank you.
Advertisements
mabc
[View user's profile]

Joined: 2013-02-20
Posts: 7
Can anyone help with this?
Guest




I still cannot seem to fix this issue. Can someone please provide some assistance?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read FAQ:
https://winscp.net/eng/docs/faq_not_owner
_________________
Martin Prikryl
mabc
[View user's profile]

Joined: 2013-02-20
Posts: 7
Martin,

Thank you for your reply! How do I turn off the Modification timestamp setting given that I am using a command to synchronize two directories (I don't see a switch listed for this here: https://winscp.net/eng/docs/scriptcommand_synchronize)? If I disable the timestamp check, what criteria is used to synchronize the remote directory? Timestamp seems like a very important piece of criteria for synchronization purposes.

Your help is greatly appreciated!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Sorry, I should have read your question more carefully.
With synchronization, you are out of luck. You can hardly synchronize files, when you do not have permissions to update theirs timestamps.
You would have to synchronize them based on file size, what is not really reliable.
_________________
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