Execute transfer via command line

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
spasha
Posts: 1
Joined: Thu Oct 27, 2016 12:22 am

Execute transfer via command line

Post by spasha » Thu Oct 27, 2016 12:29 am

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

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Execute transfer via command line

Post by mb » Fri Nov 04, 2016 8:18 pm

This can be done with the FTP Library:
https://www.smartftp.com/ftplib/download

Post Reply