Synchronization and Batch Transfers
What Synchronization Does
Synchronize makes a local and remote directory identical. WinSCP compares timestamps and optionally sizes, then transfers only the files that differ in one direction.
Mirror Local to Remote
Deploying a web app becomes: select the local directory, choose Synchronize, set the direction to Local to remote and run. New and changed files go up; depending on the selected mode, files only on the remote side can be deleted to make an exact mirror.
Keep Up to Date
The Keep remote directory up to date command watches your local folder. Each time a file changes locally, WinSCP automatically uploads it. This gives an instant live-preview loop for front-end and configuration work.
Batch with Scripting
Both sync and keep-up-to-date can run inside WinSCP scripts, so a scheduled pipeline can mirror a staging folder every hour without human interaction.
Key Points
- Sync transfers only differing files.
- Mirroring rebuilds an exact copy of a folder.
- Keep up to date auto-uploads changed files.
- Scripting turns sync into scheduled jobs.