This is an old revision of the document!

Can I transfer files between two remote servers with WinSCP

To transfer files between the two servers via local workstation

See documentation to learn how to duplicate files between sessions.

Advertisement

To transfer files directly from one server to another

This is not possible with WinSCP for reasons that differ with protocol:

  • SFTP protocol does not allow this.
  • With SCP protocol it may be theoretically possible. However it has many drawbacks. It would require not only major changes in WinSCP, but also many extensive configuration changes on both servers to allow authenticate on the second server from the first one (note that it would not be possible to use password authentication). So practically it would not have any advantage for most users.
  • For FTP protocol has an FXP extension that allows this, but it is not supported by WinSCP. 309
  • Alternative way to move/transfer files from server into logged in server is to use WGET as a command if server allows it.
  Syntax:  wget -m  ftp://username:pass@oldhost:/path/text.gz ./   (Grab /path/text.gz)
           wget -m  ftp://username:pass@oldhost:/path/*.* ./       (Grab all files from /path/ folder)

Last modified: by 124.120.143.166