Differences

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

2025-12-26 2026-02-06 (current)
consistency (martin) 6.6 Issue 2020 – Synchronize two local directories (martin)
Line 5: Line 5:
===== Directories ===== ===== Directories =====
-Enter root directories for the synchronization into //Local directory// and //Remote directory// boxes. By default the current working directories will be used. In the [[ui_explorer|Explorer interface]], where there is no local working directory, it will be the last local directory used.+Enter root directories for the synchronization into //Local/Left directory// and //Remote/Right directory// boxes. By default the current working directories will be used. In the [[ui_explorer|Explorer interface]], where there is no local working directory, it will be the last local directory used.
===== Direction/Target directory ===== ===== Direction/Target directory =====
-Use options //Both//, //Remote// or //Local// to select your preferred [[task_synchronize_full#direction|synchronization direction]].+Use options //Both//, //Remote/Right// or //Local/Left// to select your preferred [[task_synchronize_full#direction|synchronization direction]].
===== Mode ===== ===== Mode =====
Line 27: Line 27:
With //Modification time// checked (default), two files are considered different when they have different timestamps. With //Modification time// checked (default), two files are considered different when they have different timestamps.
-With //File size// checked, two files are considered different when they have different sizes. The option is not available with //Both// direction selected. When using the option, you should avoid [[transfer_mode|text transfer mode]] as it may change the file size.+With //File size// checked, two files are considered different when they have different sizes. The option is not available with //Both// direction selected. When using the option with local-remote synchronization, you should avoid [[transfer_mode|text transfer mode]] as it may change the file size.
-With //Checksum// checked, two files are considered different when they have different checksums. The option is not available with //Both// direction selected. Requires [[protocols#checksum|support for calculating checksum]]. SHA-256 checksum is used by default, with automatic fallback to SHA-1, when not supported.+With //Checksum// checked, two files are considered different when they have different checksums. The option is not available with //Both// direction selected. With local-remote synchronization, it requires the server to [[protocols#checksum|support for calculating checksum]]. SHA-256 checksum is used by default, with automatic fallback to SHA-1, when not supported.
When //Modification time// is checked along with any other the other two, it has higher priority. As a consequence, in the default //Synchronize files// [[task_synchronize_full#mode|synchronization mode]], a file is not considered updated, despite having different size or checksum, if the source file is older than the destination file. When //Modification time// is checked along with any other the other two, it has higher priority. As a consequence, in the default //Synchronize files// [[task_synchronize_full#mode|synchronization mode]], a file is not considered updated, despite having different size or checksum, if the source file is older than the destination file.
Line 37: Line 37:
With //Both// direction selected, //Modification time// is always checked and the other criteria are unchecked. With //Both// direction selected, //Modification time// is always checked and the other criteria are unchecked.
-For //Synchronize timestamps// mode checkbox //Same size only// is available. It makes WinSCP update timestamp of the files, that have same size in both directories, only. The mode is available with [[sftp|SFTP protocol]] only.+For //Synchronize timestamps// mode checkbox //Same size only// is available. It makes WinSCP update timestamp of the files, that have same size in both directories, only. The mode is available for local-remote synchronization with [[sftp|SFTP protocol]] only.
Use the //Case sensitive// checkbox to make WinSCP consider files with the same name but a different letter case to be different. Use the //Case sensitive// checkbox to make WinSCP consider files with the same name but a different letter case to be different.
Line 49: Line 49:
===== Transfer Settings ===== ===== Transfer Settings =====
-//Transfer settings// box shows current [[transfer_settings|transfer settings]].+For local-remote synchronization, //Transfer settings// box shows current [[transfer_settings|transfer settings]]
To change the settings, use //Transfer settings// button to show [[ui_transfer_custom|Transfer Settings dialog]] (alternatively you may click //Transfer settings// box). Clicking drop-down icon on the button reveals menu with list of configured [[transfer_settings#presets|presets]]. Command //Configure// opens Preferences dialog on //[[ui_pref_transfer|Transfer page]]//. To change the settings, use //Transfer settings// button to show [[ui_transfer_custom|Transfer Settings dialog]] (alternatively you may click //Transfer settings// box). Clicking drop-down icon on the button reveals menu with list of configured [[transfer_settings#presets|presets]]. Command //Configure// opens Preferences dialog on //[[ui_pref_transfer|Transfer page]]//.
Line 57: Line 57:
===== [[new_window]] Starting in New Window ===== ===== [[new_window]] Starting in New Window =====
-In the drop-down menu of the //OK// button, you can also start synchronization in a separate window, to avoid blocking the current window.+For local-remote synchronization, in the drop-down menu of the //OK// button, you can also start synchronization in a separate window, to avoid blocking the current window.
An alternative is to [[ui_synchronize_checklist#background|push synchronization actions into background queue]] from the Synchronization checklist window. An alternative is to [[ui_synchronize_checklist#background|push synchronization actions into background queue]] from the Synchronization checklist window.

Last modified: by martin