Problem with console and automated synchronize
I am having trouble getting the synchronize command in the console to do anything.
I have a session called didb that is properly configured and connects properly to the server I am trying to synch to.
I have a script called syncher.txt with these contents:
Then from the command line I run this (in my WinSCP3 working directory which is "C:\Program Files (x86)\WinSCP3\):
and here is a text capture of my result:
I had them synched and deleted one of the files on the remote side before testing to make sure it would copy it back.
When I run the synchronize command in the gui it sees the missing file and will synch it if I let it. I don't understand why my script doesn't seem to do anything.
Please help. (I am probably doing something stupid)
Thanks for your time.
I have a session called didb that is properly configured and connects properly to the server I am trying to synch to.
I have a script called syncher.txt with these contents:
option batch on option confirm off option transfer binary option synchdelete synchronize remote \\PRINTSERVER\didb\GerberPNG /c:/downloads/GerberPNG exit
Then from the command line I run this (in my WinSCP3 working directory which is "C:\Program Files (x86)\WinSCP3\):
winscp3.com /console /script=syncher.txt didb
C:\Program Files (x86)\WinSCP3>winscp3.com /console /script=syncher.txt didb Initialisation... Searching for host... Connecting to host... Authenticating... Using username "root". Authenticated. Starting the session... Reading remote directory... Session started. Active session: [1] didb batch on confirm off transfer binary synchdelete on Comparing '\\PRINTSERVER\didb\GerberPNG' with '/c:/downloads/GerberPNG'...
When I run the synchronize command in the gui it sees the missing file and will synch it if I let it. I don't understand why my script doesn't seem to do anything.
Please help. (I am probably doing something stupid)
Thanks for your time.