This is an old revision of the document!

Documentation » Using WinSCP » Guides » Basic Tasks »

Synchronize Files with FTP Server or SFTP Server

This guide contains simplified description of synchronizing files with FTP or SFTP server with WinSCP. You may want to see detailed documentation of the process instead.

Before starting you should:

Advertisement

Synchronizing

Once you are connected to your account of FTP/SFTP server, you will see content of default remote directory (typically a home directory of your account) on remote file panel.

If you want to synchronize the files with different directory, navigate there first. If you are using Commander interface navigate also to local directory, which you want to synchronize.

To synchronize go to Commands > Synchronize (in main menu). Synchronize dialog will appear, where you can select synchronization mode and configure options. If you are using Explorer interface you may select the local directory, which you want to synchronize only now. Further you may want to select:

  • Synchronization direction. Select Local to apply changes in remote directory to local directory. Select Remote to apply changes in local directory to remote directory. Select Both to synchronize local and remote directories reciprocally.
  • Synchronization Mode. Typically you want to use default Synchronize files mode. But you may also want to synchronize files unconditionally with Mirror files mode.
  • You may want to consider using Delete files option. Also make sure that Preview changes option is enabled, so you can confirm the changes before anything happens.

Press OK to start synchronization.

WinSCP will collect list of differences in between the directories. Then you will be presented with the synchronization checklist1, where you can review synchronization actions. Press OK to apply them.

Further Reading

Advertisement

  1. If Preview changes was enabled.Back

Last modified: by Petr