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 [email protected]:file [email protected]:newfile
> is equivalent to
> ssh [email protected] "scp file [email protected]: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 [email protected]
GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D