[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transfer a file from a remote to another one


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



References:
Transfer a file from a remote to another oneAhmad Modaghegh <aiispassw@xxxxxxxxx>
Re: Transfer a file from a remote to another oneTilo Eckert <tilo.eckert@xxxxxxx>
Archive administrator: postmaster@lists.cynapses.org