Re: How to setup synchronize both script
So for the first time, make fresh full copy of the remote directory. And only after that, use synchronization.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
# 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