How can I automate FTP file transfer?
Create all the following files in the userdata/scripts folder
-
Create
myftp.batwith the following contentsTerminal window cd /d %~dp0ftp -s:ftp_info.txt ftp.your_server.com -
Create
ftp_info.txtwith the following contentsyour_usernameyour_passwordlsquit -
Create
ftp.sahwith the following contentsvar $out = _execute(_resolvePath("myftp.bat"), true);_alert($out); -
Run
ftp.sahfrom the Controller or using testrunner.bat.

