Differences
This shows you the differences between the selected revisions of the page.
ui_synchronize 2021-06-18 | ui_synchronize 2024-02-15 (current) | ||
Line 29: | Line 29: | ||
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, you should avoid [[transfer_mode|text transfer mode]] as it may change the file size. | ||
- | When both options are checked, //Modification time// 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, if the source file is older than the destination file. | + | 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. |
- | When neither option is checked, existing files are considered the same always. So only new files are synchronized. | + | 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. |
- | With //Both// direction selected, //Modification time// is always checked and //File size// unchecked. | + | When no option is checked, existing files are considered the same always. So only new files are synchronized. |
+ | |||
+ | 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 with [[sftp|SFTP protocol]] only. | ||
Line 49: | Line 51: | ||
//Transfer settings// box shows current [[transfer_settings|transfer settings]]. | //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]]//. |
You may want to change transfer settings particularly to [[ui_transfer_custom#other|exclude certain files and subdirectories]] from synchronization. Although the [[file_mask|file mask]] is part of transfer settings, in context of synchronization it affects also file deletion. | You may want to change transfer settings particularly to [[ui_transfer_custom#other|exclude certain files and subdirectories]] from synchronization. Although the [[file_mask|file mask]] is part of transfer settings, in context of synchronization it affects also file deletion. | ||
Line 55: | 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. | + | In the drop-down menu of the //OK// button, you can also start synchronization in a separate window, to avoid blocking the current window. |