Does /synchronize work with changed files ?

Advertisement

Petr Nowak
Guest

Does /synchronize work with changed files ?

I write small bat and use it to start script:

"C:\Program Files\WinSCP\WinSCP.exe" /script=script.ftp

Script.ftp:
option batch on
option confirm off
echo on
open pnowak@WEBtest
option transfer binary
synchronize local d:\BackupsWEBtest\ \Zalohy\
close
exit

Script works fine but only first time. Script is not able to synchronize changed files. Does synchronize support changed files synchronizing ?

I have looked unsuccesfully for answer in documentation and forum too.

Thanks in advance for any help ...

Reply with quote

Advertisement

Petr Nowak
Guest

After several days of work I'm not able to setup script to synchronize changed files from remote to local (local includes older version of synchronized files). If I delete files on local, synchronization works. Otherways it is not able to synchronize and overwrite older files on local. Whats wrong ? Please help.

Reply with quote

Petr Nowak
Guest

What does it mean "Overwrite confirmations are always off for the synchronize command" ? Does it mean it is impossible to overwrite old file with new version when synchronizing ??? (details of my problem and more notes above...).

Reply with quote

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

Petr Nowak wrote:

What does it mean "Overwrite confirmations are always off for the synchronize command" ? Does it mean it is impossible to overwrite old file with new version when synchronizing ??? (details of my problem and more notes above...).
No it means thatyou are not asked to confirm the overwrite.
Please read this page carefuly.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum