Differences

This shows you the differences between the selected revisions of the page.

2005-05-05 2005-05-05
ui_pref_transfer => ui_transfer (martin) Synchronize on start (martin)
Line 9: Line 9:
===== How It Works ===== ===== How It Works =====
-Once you start the function, WinSCP will register to receive notification whenever something changes in selected local directory (and optionally in all its subdirectries). Once you make a change, for example when you save file in your favourite editor, WinSCP will receive notification about the change in respective directory. Then it will perform [[task_synchronize_full|synchronisation]] of the local directory with corresponding remote directory. Thus your change will be automatically reflected on the remote side.+Once you start the function, WinSCP will register to receive notification whenever something changes in selected local directory (and optionally in all its subdirectries). Once you make a change, for example when you save file in your favourite editor, WinSCP will receive notification about the change in respective directory. Then it will perform [[task_synchronize_full|synchronization]] of the local directory with corresponding remote directory. Thus your change will be automatically reflected on the remote side.
WinSCP can even (optionally) delete remote files, when you delete local files. WinSCP can even (optionally) delete remote files, when you delete local files.
Line 17: Line 17:
Before using the function you should know that: Before using the function you should know that:
  * Before using the function make sure that WinSCP knows correct timestamps of remote files, to avoid losing data.   * Before using the function make sure that WinSCP knows correct timestamps of remote files, to avoid losing data.
-  * WinSCP will detect that **something** has changed in the directory only. It won't know what has changed actually. So it must perform full synchronisation of that directory. As a result it may not upload only the file changed just at the moment, but any file that is out of sync. In other words, you should start the //Keep remote directory up to date// function only, when the selected local and remote directories are completely (or almost completely) [[task_synchronize_full|synchronised]].+  * WinSCP will detect that **something** has changed in the directory only. It won't know what has changed actually. So it must perform full synchronization of that directory. As a result it may not upload only the file changed just at the moment, but any file that is out of sync. In other words, you should start the //Keep remote directory up to date// function only, when the selected local and remote directories are completely (or almost completely) [[task_synchronize_full|synchronized]]. You can make WinSCP to this automatically for you, by checking option //[[ui_keepuptodate#synchronize_options|Synchronize on start]]//.
  * When you rename file or directory, WinSCP will see it as removal of one file and addition of another and it will reflect the change on remote directory as such. So it is not recommended to use the function to "rename" large files and directories. You should better do this [[task_rename|manually]].   * When you rename file or directory, WinSCP will see it as removal of one file and addition of another and it will reflect the change on remote directory as such. So it is not recommended to use the function to "rename" large files and directories. You should better do this [[task_rename|manually]].

Last modified: by martin