Differences
This shows you the differences between the selected revisions of the page.
2019-04-17 | 2019-04-17 | ||
explicit automation anchor (martin) | separating scripting and .net assembly examples + broader link anchors + typography (martin) | ||
Line 375: | Line 375: | ||
Note that you cannot disable preserving timestamp for [[task_synchronize|synchronization]], unless you turn off //Modification timestamp// [[ui_synchronize#criteria|comparison criteria]]. | Note that you cannot disable preserving timestamp for [[task_synchronize|synchronization]], unless you turn off //Modification timestamp// [[ui_synchronize#criteria|comparison criteria]]. | ||
- | ==== [[automation]] Automation ==== | + | ==== Scripting ==== |
- | When using [[scripting]], add ''[[scriptcommand_put#nopreservetime|-nopreservetime]]'' and ''[[scriptcommand_put#nopermissions|-nopermissions]]'' switches to ''[[scriptcommand_put|put]]'' command. With ''[[scriptcommand_synchronize|synchronize]]'' command, this works only when ''[[scriptcommand_synchronize#criteria|-criteria]]'' is ''none'' or ''size'' and it never works in ''both'' mode. | + | When using [[scripting]], add ''[[scriptcommand_put#nopreservetime|-nopreservetime]]'' and ''[[scriptcommand_put#nopermissions|-nopermissions]]'' switches to [[scriptcommand_put|''put'' command]]. |
+ | |||
+ | With [[scriptcommand_synchronize|''synchronize'' command]], this works only when ''[[scriptcommand_synchronize#criteria|-criteria]]'' is ''none'' or ''size'' and it never works in ''both'' mode. | ||
+ | |||
+ | ==== .NET Assembly ==== | ||
When using [[library|.NET assembly]], set ''[[library_transferoptions|TransferOptions]]'' as shown in following examples: | When using [[library|.NET assembly]], set ''[[library_transferoptions|TransferOptions]]'' as shown in following examples: | ||
Line 399: | Line 403: | ||
</code> | </code> | ||
- | With [[library_session_synchronizedirectories|Session.SynchronizeDirectories]], this works only when ''criteria'' parameter is ''SynchronizationCriteria.None'' or ''SynchronizationCriteria.Size'' and it never works when ''mode'' parameter is ''SynchronizationMode.Both'' (learn [[library_powershell#enums|enumeration syntax]] in PowerShell). | + | With [[library_session_synchronizedirectories|''Session.SynchronizeDirectories'']], this works only when ''criteria'' parameter is ''SynchronizationCriteria.None'' or ''SynchronizationCriteria.Size'' and it never works when ''mode'' parameter is ''SynchronizationMode.Both'' (learn [[library_powershell#enums|enumeration syntax]] in PowerShell). |
==== In Other Languages ==== | ==== In Other Languages ==== |