Batch file when using WinSCP and command prompt

大憨熊 提交于 2019-12-08 07:33:25

Commands after close are definitely not ignored. Your problem might be that you are trying to put Windows commands to WinSCP script. Note that there are no commands in WinSCP to move local files.

Instead of trying using Winscp3, try with plink.exe.

Plink is the best option to transfer files from winscp3 to your local.By using scp command we can transfer file from winscp to local as well as one folder in to another folder in winscp.

scp username@atechguideserver1.com:/data/tmp/samplscp.txt username@atechguideserver2.com:/data/tmp/dir/tech

Please refer to: http://99students.com/move-files-in-unix/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!