1.安装WinSCP
2.新建脚本test.txt
option confirm off
open username:password@host
put C: esta.zip /home/test/a.zip
close
exit
3.进入cmd,进入WinSCP目录,使用命令
winscp.exe /console /script=test.txt /log=log.txt
1.安装WinSCP
2.新建脚本test.txt
option confirm off
open username:password@host
put C: esta.zip /home/test/a.zip
close
exit
3.进入cmd,进入WinSCP目录,使用命令
winscp.exe /console /script=test.txt /log=log.txt