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

Re: Syncronize & read-only attribute

Please read FAQ. If that does not help, come back.
Patibolo

Syncronize & read-only attribute

I Martin,
I'm trying to synchronize a local folder to a remote one, so that remote changes reflects to local folder.

The script is something like

option batch on

option confirm off
option batch abort
OPEN session_name
cd remote_dir
synchronize local local_dir -criteria=both -speed=100
exit



I notice tha if a file changes on the remote folder and I re-run the script I get an error like:

error trnasferring file '/remote_dir/aaa.txt'
unable to open file 'd:\local_dir\aaa.txt'
copy file local side fail.
PORT command successful

If I check the rights on the local copy I see that the read-only attribute is set.
Is there a way to force the copy not to preserve the read-only attribute? (I know this is possible via GUI, but I don't find it in the cli reference)

Thanks in advance.