参见英文答案 > How to copy a file from a remote server to a local machine? 6个
我的工作系统位于远程位置,操作系统位于unix中,我需要使用bash命令从远程unix系统获取文件到本地计算机.我试过了
scp ls .txt* D:\BACKUP
这个命令通过使用putty连接到我的远程系统.我试过但它不起作用.
解决方法:
假设您在Windows上安装了scp(例如,使用Windows 10 bash)
正确的命令是:
scp remote_username@remote_hostname.com:/full/path/to/file local_file_name
如果您的Windows上没有安装scp,则可以安装winscp
您可以使用winscp使用sftp下载(see instructions)
Connecting
Start WinSCP. Login Dialog will appear. On the dialog:
- Select your File protocol. When you are about to use FTPS protocol, select FTP and then choose one of the FTPS invocation methods.
- Enter your host name to Host name field, username to User name and password to Password
- Press Login to connect.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。