[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transfer a file from a remote to another one
[Thread Prev] | [Thread Next]
- Subject: Re: Transfer a file from a remote to another one
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 03 Aug 2018 16:22:04 +0200
- To: libssh@xxxxxxxxxx
On Thursday, 2 August 2018 17:33:23 CEST Tilo Eckert wrote: > Neither SCP nor SFTP have inherent support for (FXP-like) direct file > transfers between two remote hosts. You always have to SSH into one of > the boxes and initiate the transfer from the remote box by running the > necessary command. > > scp nick0@x.x.x.x:file nick1@y.y.y.y:newfile > is equivalent to > ssh nick0@x.x.x.x "scp file nick1@y.y.y.y:newfile" Well, you can create a sftp connection to both hosts and transfer it via your host without storing the file locally. But there is no real FXP support in sftp. Andreas -- Andreas Schneider asn@xxxxxxxxxxxxxx GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Transfer a file from a remote to another one | Ahmad Modaghegh <aiispassw@xxxxxxxxx> |
Re: Transfer a file from a remote to another one | Tilo Eckert <tilo.eckert@xxxxxxx> |