Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

I use WINscp to synchronize files from remote to local (via script, synchronize command, see above). Remote files are readwrite. Local files are readonly after synchronization. Why ? Does WINscp set readonly attribute on synchronized local files ? How to avoid this behaviour ?

WinSCP sets readonly attribute for files that are readonly on remote side. I guess I should turn this feature off by default.
Guest

I use WINscp to synchronize files from remote to local (via script, synchronize command, see above). Remote files are readwrite. Local files are readonly after synchronization. Why ? Does WINscp set readonly attribute on synchronized local files ? How to avoid this behaviour ?
Read only attribute is a reason why synchronization is not able to rewrite old local files with new remote one, during next synchronization. I'm not able to find how to avoid this ...
If I remove manually readonly attribute in local before start of new synchronization, all is correct and WINscp makes its job and transfer changed files.
martin

Re: Local files are read only after "synchronize local..."

Sorry, I do not understand what is the problem. Please try again.
Petr Nowak

Local files are read only after "synchronize local..."

Local files are read only after "synchronize local...". How to avoid this ?

option batch on

option confirm off
option synchdelete on
echo on
open pnowak@WEBtest
chmod 666 *.*
option transfer binary
synchronize local d:\BackupsWEBtest\ \Zalohy\
close
exit