Page 1 of 1

Execute transfer via command line

Posted: Thu Oct 27, 2016 12:29 am
by spasha
Hi,
 
We are in the process of switching our existing FTP client and are evaluation SmartFTP.  Does SmartFTP have the ability to execute a transfer via command line? Ex:
 
 CONST FTP_SCRIPT_FILE = "\\sandy\apps\pay_jobs\payment import log\pay_payment_import_jpmorgan_ftp.txt"
 oShell.Run """C:\Program Files (x86)\Ipswitch\WS_FTP 12\ftpscrpt"" -p ""JPMorgan Production""  -f """ & FTP_SCRIPT_FILE & """", , True
 
Our current FTP Client software IPSwitch allows the above.  Does SmartFTP have command line arguments to transfer files? If not, how would we achieve this??
 
Thanks,
Steve

Re: Execute transfer via command line

Posted: Fri Nov 04, 2016 8:18 pm
by mb
This can be done with the FTP Library:
https://www.smartftp.com/ftplib/download