Newbie needs help with scirpting
I am trying to write a script to automatically download a file from an ftp server and am not having much luck. Looking for help. Here is the batch file I created. When I run, I see that it is trying to connect to the FTP server, connection times out and fails. Could someone help me?
cd /d C:\Program Files (x86)\WinSCP
winscp ftp://USERID:PASSWORD@XYZ.MYSITE.com/DIRECTORY WHERE FILE IS LOCATED /explicittls
exit
CMD
cd /d C:\Program Files (x86)\WinSCP
winscp ftp://USERID:PASSWORD@XYZ.MYSITE.com/DIRECTORY WHERE FILE IS LOCATED /explicittls
exit
CMD