【发布时间】:2017-03-03 21:25:16
【问题描述】:
我想将数据从本地 windows 复制到我的 linux 服务器。
该文件位于 C:\Users\Test\Desktop\new\foo.txt 中,我想将其复制到 xyz@wekroso51.int.bebra.com/home/新/bin
我该怎么做?
【问题讨论】:
标签: linux windows file-transfer
我想将数据从本地 windows 复制到我的 linux 服务器。
该文件位于 C:\Users\Test\Desktop\new\foo.txt 中,我想将其复制到 xyz@wekroso51.int.bebra.com/home/新/bin
我该怎么做?
【问题讨论】:
标签: linux windows file-transfer
解决方案 1 --->试试这样的:
pscp -l user1 c:\ftp\picture.jpg slacker1:/home/user1/pics
根据Putty manual:
将(一个)文件发送到远程服务器:
pscp [选项] 源 [源...] [user@]host:target
所以要将本地文件 c:\documents\foo.txt 复制到服务器 example.com 作为用户 fred 到文件 /tmp/foo,您需要键入:
pscp c:\documents\foo.txt fred@example.com:/tmp/foo
解决方案2--->使用Filezilla使用SFTP代替putty传输文件连接服务器。
【讨论】: