I try to synchronize a unix box with a windows server.
I will do this by a nightly job.
I got all working but I am not able to sync new files and folders.
I red in the manual that I have to set the option Existing files only off, but this option is not knowen by WinSCP.
Here is my input file so far:
# 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 password # open user:firstname.lastname@example.org # Connect open root:email@example.com # Force binary mode transfer option transfer binary # Delete obsolete files while synchronization option synchdelete on [b]#Here is what I am looking for option Existing files only off[/b] # Synchronize /mdf with the local directory D:\ulvdev\mdf synchronize local D:\ulvdev\mdf /mdf # Synchronize /install with the local directory D:\ulvdev\intsll synchronize local D:\ulvdev\install /install # Disconnect close # Exit WinSCP exit