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
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.
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.