Auto Sync FTP
Hi guys,
I´m trying to synchronize automatically a remote directory in the FTP with files downloaded to my local directory. But it does not work.
This is the script that I have created:
Then I go to the task scheduler:
1. I created a new task
2. Put
3. Put
But is does not work
Any idea about that?
Thanks in advance
regards
carlos.
I´m trying to synchronize automatically a remote directory in the FTP with files downloaded to my local directory. But it does not work.
This is the script that I have created:
# Connect to FTP server using a password open ftp://device_aceptance:password@ftp.com/ -hostkey="ssh-dss 1024 78:64:1a:5c:27:7a:5e:46:1f:c7:c2:37:48:b8:df:3f:f9:8f:a3:ca" # Upload file keepuptodate C:\Users\cmb\Downloads\SW DL /SW Homologaciones # Exit WinSCP exit
1. I created a new task
2. Put
"C:\Program Files (x86)\WinSCP\WinSCP.exe"
in action field
3. Put
/script="C:\Program Files (x86)\WinSCP\SCript_auto_FTP.txt"
in Add arguments
But is does not work
Any idea about that?
Thanks in advance
regards
carlos.