Differences
This shows you the differences between the selected revisions of the page.
2018-10-17 | 2018-10-17 | ||
5.14 Size of directories can be calculated on Synchronization checklist window. (martin) | 5.14 File/directory rename can be resolved on Synchronization checklist window. (martin) | ||
Line 24: | Line 24: | ||
* New file transfer => Delete file | * New file transfer => Delete file | ||
* Delete file => New file transfer | * Delete file => New file transfer | ||
+ | |||
+ | ===== Resolving Renames ===== | ||
+ | |||
+ | When a file (or a directory) is renamed, synchronization sees it as an addition of one file a a deletion of another. | ||
+ | |||
+ | If you want to avoid potentially lengthy and useless re-transfer of the renamed file, you can make WinSCP rename the file in the target directory instead. Select the two actions that constitute the rename (a deletion and a new file transfer) and use command //Move//. Note that the file is renamed immediately, not only after the dialog is submitted. | ||
+ | |||
+ | &beta_feature | ||
===== Custom Commands ===== | ===== Custom Commands ===== | ||
Use //Commands// button to execute [[custom_command|custom command]] over pair of files (local and remote). Selection of custom commands is limited to those executed [[custom_command#types|both with local and remote files]] ("diff" commands). You have to select update action (blue arrow), i.e. where both local and remote file exists, to execute the custom command. | Use //Commands// button to execute [[custom_command|custom command]] over pair of files (local and remote). Selection of custom commands is limited to those executed [[custom_command#types|both with local and remote files]] ("diff" commands). You have to select update action (blue arrow), i.e. where both local and remote file exists, to execute the custom command. | ||