sftp winscp

https://stackoverflow.com/questions/16150152/secure-ftp-using-windows-batch-script

First, make sure you understand, if you need to use Secure FTP (=FTPS, as per your text) or SFTP (as per tag you have used).

Neither is supported by Windows command-line ftp.exe. As you have suggested, you can use WinSCP. It supports both FTPS and SFTP.

Using WinSCP, your batch file would look like (for SFTP):

猜你喜欢

转载自www.cnblogs.com/chucklu/p/11271825.html