20 October 2016

Sync an FTP folder using WinSCP commandline

syncftp.cmd

"C:\Program Files (x86)\WinSCP\winscp" /script="C:\FTP-Sync\download.winscp"


download.winscp

open ftp://user:password@server.com/
synchronize local "C:\FTP-Sync\public" /
exit

No comments: