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:firstname.lastname@example.org/ -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
"C:\Program Files (x86)\WinSCP\WinSCP.exe"in action field
/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