Syncronize & read-only attribute

Advertisement

Patibolo
Joined:
Posts:
1
Location:
Milano

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Syncronize & read-only attribute

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum