Differences

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

2023-12-06 2024-02-15 (current)
6.2.1 Issue 52 – Use file hash as criterion for synchronization (martin) 6.3 stable released (martin)
Line 34: Line 34:
| bool ==removeFiles== | When set to ''true'', considered obsolete files to be deleted. Cannot be used for ''SynchronizationMode.Both''. | | bool ==removeFiles== | When set to ''true'', considered obsolete files to be deleted. Cannot be used for ''SynchronizationMode.Both''. |
| bool ==mirror== | When set to ''true'', compares in [[task_synchronize_full#mode|mirror mode]] (synchronizes also older files). Cannot be used for ''SynchronizationMode.Both''. Defaults to ''false''. | | bool ==mirror== | When set to ''true'', compares in [[task_synchronize_full#mode|mirror mode]] (synchronizes also older files). Cannot be used for ''SynchronizationMode.Both''. Defaults to ''false''. |
-| SynchronizationCriteria ==criteria== | [[ui_synchronize#criteria|Comparison criteria]]. //In the latest stable version,// possible values are ''SynchronizationCriteria.None'', ''SynchronizationCriteria.Time'' (default), ''SynchronizationCriteria.Size'' and ''SynchronizationCriteria.Either''. //In the latest beta version//, the parameter is a bit field of any of ''SynchronizationCriteria.Time'' (default), ''SynchronizationCriteria.Size'' and ''SynchronizationCriteria.Checksum''. ''SynchronizationCriteria.None'' can be used as alias to empty bit field. (* For backward compatibility, ''SynchronizationCriteria.Either'' can be used as an alias to ''Time | Size''. *) &beta For ''SynchronizationMode.Both'' ''SynchronizationCriteria.Time'' can be used only. |+| SynchronizationCriteria ==criteria== | [[ui_synchronize#criteria|Comparison criteria]]. The parameter is a bit field of any of ''SynchronizationCriteria.Time'' (default), ''SynchronizationCriteria.Size'' and ''SynchronizationCriteria.Checksum''. ''SynchronizationCriteria.None'' can be used as an alias to empty bit field. For backward compatibility, ''SynchronizationCriteria.Either'' can be used as an alias to ''Time %%|%% Size''. For ''SynchronizationMode.Both'', ''SynchronizationCriteria.Time'' can be used only. |
| [[library_transferoptions|TransferOptions]] ==options== | Transfer options. Defaults to ''null'', what is equivalent to ''new TransferOptions()''. Only few properties matter for comparison, notably the [[library_transferoptions#filemask|''TransferOptions.FileMask'']]. | | [[library_transferoptions|TransferOptions]] ==options== | Transfer options. Defaults to ''null'', what is equivalent to ''new TransferOptions()''. Only few properties matter for comparison, notably the [[library_transferoptions#filemask|''TransferOptions.FileMask'']]. |

Last modified: by martin