Pages

Wednesday, 14 May 2014

WinSCP: Batch Script FTP

Install WinSCP and create a batch file containing:

"C:\Program Files (x86)\WinSCP\WinSCP.exe" /console /script=winscpftp.txt

Create winscpftp.txt file containing:

open ftp://username:password@host
synchronize remote "C:\FTP\" "/"
exit

No comments:

Post a comment