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 open mysession@myhost # Synchronize synchronize both "D:\Pictures" /home/myuser/mysite/pictures # Disconnect close # Exit WinSCP exit