Posted: 2008-01-04 08:03
As a first time user I am experiencing some difficulties in creating a synchronization script. The script is below. The script works on one computer but not on another computer. My thoughts on this is that there is no sync because my local folder D:\Pictures is newer than the folder on the server. I'm trying to setup a new folder on a new pc to sync so this folder is definitely newer. If I enable deletes it will probably empty the remote folder.
How do I setup a new folder?
Thanks and Regards,
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a stored session
synchronize both "D:\Pictures" /home/myuser/mysite/pictures
# Exit WinSCP
Location: Prague, Czechia
So for the first time, make fresh full copy of the remote directory. And only after that, use synchronization.
You can post new topics in this forum
And it's free!