mark win to linux winscp

2021-02-06 04:17

阅读:670

标签:tool   use   too   ons   nsf   option   不同   txt   user   

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

标签:tool   use   too   ons   nsf   option   不同   txt   user   

原文地址:https://blog.51cto.com/14466125/2433434


评论


亲,登录后才可以留言!