【问题标题】:Copy a file from Windows client to Putty SSH将文件从 Windows 客户端复制到 Putty SSH
【发布时间】: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


    【解决方案1】:

    解决方案 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传输文件连接服务器。

    【讨论】:

      猜你喜欢
      • 2014-06-12
      • 2011-09-16
      • 1970-01-01
      • 2018-07-27
      • 1970-01-01
      • 2011-09-13
      • 2019-06-14
      • 2016-03-04
      • 2013-09-16
      相关资源
      最近更新 更多