[newbie] "Nothing to synchronize"?
Hello
I just downloaded WinSCP 4.2.9 and tried to write my first script to synchronize a remote FTP server with a local XP host, before syncing this XP host with a second, remote FTP server.
Using the console, I can successfully log on, but "synchronize local c:\remote.ftp /files" does nothing and just displays "Nothing to synchronize."
Just in case, I...
1. Checked that there is a "/files" directory on the FTP server, and it's full of files
2. On the local host, I created a c:\remote.ftp, in case WinSCP couldn't create the directory itself.
Here's my script:
Am I missing something obvious?
Any help appreciated, thank you.
I just downloaded WinSCP 4.2.9 and tried to write my first script to synchronize a remote FTP server with a local XP host, before syncing this XP host with a second, remote FTP server.
Using the console, I can successfully log on, but "synchronize local c:\remote.ftp /files" does nothing and just displays "Nothing to synchronize."
Just in case, I...
1. Checked that there is a "/files" directory on the FTP server, and it's full of files
2. On the local host, I created a c:\remote.ftp, in case WinSCP couldn't create the directory itself.
Here's my script:
option batch on option confirm off open ftp://me:pass@ftp.acme.com option transfer binary #remote server is reference synchronize local c:\remote.ftp /files close exit
Am I missing something obvious?
Any help appreciated, thank you.