当前位置: 首页 > 文档资料 > WinSCP 手册文档 >

Synchronizing

优质
小牛编辑
128浏览
2023-12-01

This article contains detailed description of synchronizing files. You may want to see simplified guide to the process instead.

WinSCP offers several ways to synchronize your remote and local directories.

  • You can synchronize directories by manually uploading and downloading the changed files. For this you may find useful features like Synchronize browsing and Compare directories or transfer setting Newer and updated files only.
  • You can use function Synchronize to let WinSCP do the synchronization for you.
  • If you make your changes locally and immediately upload the changed files to the remote directory, you can make this much easier by making WinSCP watch for changes you make and automatically reflecting them on the remote directory using the function Keep remote directory up to date.
  • If you happen to have the same files locally and remotely with the different timestamps, you can update them without transferring the files again. Use function Synchronize in Synchronize timestamps mode.
  • You can fully automate some synchronization tasks using scripting. There is also an extension and example script to synchronize files between two remote servers.

Before using any synchronization feature, make sure WinSCP can correctly convert timestamps from local conventions to remote server conventions and vice versa.

During synchronization WinSCP can backup remote files to remote recycle bin.