Differences
This shows you the differences between the selected revisions of the page.
faq_fxp 2020-02-22 | faq_fxp 2024-02-28 (current) | ||
Line 3: | Line 3: | ||
===== [[via_local]] To transfer files between the two servers via local workstation ===== | ===== [[via_local]] To transfer files between the two servers via local workstation ===== | ||
See documentation to learn how to [[task_move_duplicate#duplicate|duplicate files between sessions]]. | See documentation to learn how to [[task_move_duplicate#duplicate|duplicate files between sessions]]. | ||
+ | |||
+ | There is also an extension to [[extension_synchronize_another_server|synchronize files between servers]]. | ||
===== To transfer files directly from one server to another ===== | ===== To transfer files directly from one server to another ===== | ||
This feature is not built into WinSCP, for reasons listed further down. Yet, there are ways to utilize some advanced features of WinSCP to achieve the task. | This feature is not built into WinSCP, for reasons listed further down. Yet, there are ways to utilize some advanced features of WinSCP to achieve the task. | ||
- | ==== Pushing files with custom command ==== | + | ==== [[custom_command]] Pushing files with custom command ==== |
With the [[SFTP]] and [[SCP]] protocols, you can push the selected remote files to another server using the [[custom_commands#fxp|''scp'' custom command]]. | With the [[SFTP]] and [[SCP]] protocols, you can push the selected remote files to another server using the [[custom_commands#fxp|''scp'' custom command]]. | ||
Line 14: | Line 16: | ||
<code> | <code> | ||
wget ftp://username:password@otherhost:/path/file ./ | wget ftp://username:password@otherhost:/path/file ./ | ||
- | </code> | ||
- | or | ||
- | <code> | ||
- | wget -r --ftp-user='myname@email.com' --ftp-password='password' ftp://ip.of.old.host/folder/ | ||
</code> | </code> | ||