mark win to linux winscp
2021-02-06 04:17
标签:tool use too ons nsf option 不同 txt user mark win to linux winscp 标签:tool use too ons nsf option 不同 txt user 原文地址:https://blog.51cto.com/14466125/2433434
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
上一篇:Win10系统使用秘钥永久激活
下一篇:C# 操作Excel大全
文章标题:mark win to linux winscp
文章链接:http://soscw.com/index.php/essay/51612.html