This is an old revision of the document!
Synchronize Files with FTP/SFTP Server
This guide contains simplified description of synchronizing files with FTP or SFTP server with WinSCP.
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 select those synchronization actions you want to actually apply. Press OK to apply them.
Further Reading
- Detailed documentation about synchronization;
- Troubleshooting.
Advertisement
- If Preview changes was enabled.Back