服务器到服务器传输
需要将 1 个文件从没有 SSH 访问权限的旧主机传输到我有 SSH 访问权限的新主机。很难弄清楚这一点。寻找一个简单的答案(如果有的话)。并且还试图避免从我的本地计算机上传速度缓慢,因此需要服务器到服务器传输的原因。
Need to transfer 1 file from old host with no SSH access to a new host in which I do have SSH access. Having a hard time figuring this out. Looking for a simple answer if there is one. And also trying to avoid the slow upload times from my local machine, hence the reason for server to server transfer needed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你能使用FTP吗?您可以使用它来传输文件。
Are you able use FTP? You could use that to transfer the files.
如果您知道要从旧主机移动的文件的 URL,则可以在 SSH 终端中使用
wget
命令。如果需要,您可以将其用于任何文件扩展名或文件夹。例如,如果您想要将
http://www.yourhost.com/file.zip
移动到新主机,您可以通过 SSH 进入要将其下载到的文件夹,然后输入:If you have the URL of the file you want to move from your old host, you can use the
wget
command in your SSH terminal. You can use this for any file extension, or folders if you want.For example, if you want to move
http://www.yourhost.com/file.zip
to your new host, you would SSH into the folder you want to download move this to, and type: