mark win to linux winscp

win to linux winscp
bat文件
::下面将生成的rar 传输到%ip% %destination%
echo "注意传输协议不同,默认对应的端口不同,ftp:21;sftp:22;scp:22"
::下面四个变量已在上面参数化
::set winscp=C:\99software\winscp\winscp.exe
::set user=buildl
::set userpwd=buildl
::set localdir="D:\09Software\winscp"
::set destination="./"
%winscp% /console /command "option batch continue" "option confirm off" "open ftp://%user%:%userpwd%@%ip%:%port%" "option transfer binary" "put C:\01project\output\fileTool%BVersion%r%svnv%.rar %destination%/fileTool%BVersion%_r%svnv%.rar" "exit" /log=C:\01project\out_put\transferlog.txt
pause

mark win to linux winscp

上一篇:Web离线存储的几种方式


下一篇:Delphi - Indy 创建邮件发送服务