下载putty(需要包含pscp.exe):

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html


在pscp.exe目录下打开命令窗口


从linux下载文件到windows:

pscp.exe i-turing@114.80.0.201:/home/i-turing/carpn.zip d:\carpn


i-turing是用户名;

114.80.0.201是linux服务器地址;

/home/i-turing/carpn.zip是linux文件;

d:\carpn是本地目录


注意:只能下载文件,不能下载目录,所以如果你想拷贝挣个目录最好先打包,zip命令:

zip  -rcarpn.zip  carpn

把carpn文件夹压缩为carpn.zip


输入密码,就可以下载了





从window机器上传文件到linux:

pscp.exe D:\carpn\ivas\ivas\content\jpg\0\2017-04-26-09-23-34-843_100_2468.jpg i-turing@114.80.0.201:/home/i-turing/ivas/content/jpg/0


参考链接:

http://lanxuezaipiao.blog.163.com/blog/static/9377996520132186930353/

http://blog.csdn.net/cynhafa/article/details/7303338


Logo

更多推荐