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 19: Line 19:
| ''-==delete==''              | Delete obsolete files. Ignored for ''[[#both|both]]'' mode. | | ''-==delete==''              | Delete obsolete files. Ignored for ''[[#both|both]]'' mode. |
| ''-==mirror==''              | [[task_synchronize_full#mode|Mirror mode]] (synchronize also older files). Ignored for ''[[#both|both]]'' mode.  | | ''-==mirror==''              | [[task_synchronize_full#mode|Mirror mode]] (synchronize also older files). Ignored for ''[[#both|both]]'' mode.  |
-| ''-==criteria===<criteria>'' | [[ui_synchronize#criteria|Comparison criteria]]. //In the latest stable version,// possible values are ''time'', ''size'', ''either'' and ''none''. //In the latest beta version,// possible values are a comma-separated list of any of ''time'', ''size'' and ''checksum'', or ''none''. (*For backward compatibility, ''either'' is an alias to ''time,size''.*) &beta Ignored for ''[[#both|both]]'' mode. |+| ''-==criteria===<criteria>'' | [[ui_synchronize#criteria|Comparison criteria]]. A comma-separated list of any of ''time'', ''size'' and ''checksum'', or ''none''. For backward compatibility, ''either'' is an alias to ''time,size''. Ignored for ''[[#both|both]]'' mode. |
| ''-==preservetime==''        | Preserve timestamp. Enforced by default unless ''[[#criteria|-criteria]]'' lacks ''time''. | | ''-==preservetime==''        | Preserve timestamp. Enforced by default unless ''[[#criteria|-criteria]]'' lacks ''time''. |
| ''-==nopreservetime==''      | Do not preserve timestamp. Ignored unless ''[[#criteria|-criteria]]'' lacks ''time''. | | ''-==nopreservetime==''      | Do not preserve timestamp. Ignored unless ''[[#criteria|-criteria]]'' lacks ''time''. |
Line 55: Line 55:
| ''-delete''              | Value ''true'' (''$True'' in PowerShell) for method parameter ''removeFiles''. | | ''-delete''              | Value ''true'' (''$True'' in PowerShell) for method parameter ''removeFiles''. |
| ''-mirror''              | Value ''true'' (''$True'') for method parameter ''mirror''. | | ''-mirror''              | Value ''true'' (''$True'') for method parameter ''mirror''. |
-| ''-criteria''            | Set method parameter ''criteria''. Use ''SynchronizationCriteria.Time'' for ''time'', ''SynchronizationCriteria.Size'' for ''size'', ''SynchronizationCriteria.Checksum'' for ''checksum'', ''SynchronizationCriteria.Either'' for ''either'' and ''SynchronizationCriteria.None'' for ''none''. &beta \\ [[library_powershell#enums|Enumeration syntax]] in PowerShell is like ''[WinSCP.SynchronizationCriteria]::Time''. |+| ''-criteria''            | Set method parameter ''criteria''. Use ''SynchronizationCriteria.Time'' for ''time'', ''SynchronizationCriteria.Size'' for ''size'', ''SynchronizationCriteria.Checksum'' for ''checksum'' and ''SynchronizationCriteria.None'' for ''none''. \\ [[library_powershell#enums|Enumeration syntax]] in PowerShell is like ''[WinSCP.SynchronizationCriteria]::Time''. |
| ''-permissions'' \\ ''-nopermissions'' \\  ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' \\ ''-speed=<kbps>'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. | | ''-permissions'' \\ ''-nopermissions'' \\  ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' \\ ''-speed=<kbps>'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. |

Last modified: by martin