1.winscp 更新文件
winscp /console /command "option batch continue" "option confirm off" "option synchdelete off" "open sftp://user:pwd@192.168.1.12:22" "synchronize local -criteria=size localdir remotedir" "exit" /log=D:\log.txt
winscp /console /command "option batch continue" "option confirm off" "option synchdelete off" "open sftp://user:pwd@192.168.1.12:22" "synchronize local -criteria=size localdir remotedir" "exit" /log=D:\log.txt