Differences
This shows you the differences between the selected revisions of the page.
2013-05-14 | 2013-05-15 | ||
syntax and remarks headings (martin) | powershell (martin) | ||
Line 44: | Line 44: | ||
Switches mapping: | Switches mapping: | ||
^ Switch ^ Mapping ^ | ^ Switch ^ Mapping ^ | ||
- | | ''-delete'' | Value ''true'' (''$True'') 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.Either'' for ''either'' and ''SynchronizationCriteria.None'' for ''none''. | | + | | ''-criteria'' | Set method parameter ''criteria''. Use ''SynchronizationCriteria.Time'' for ''time'', ''SynchronizationCriteria.Size'' for ''size'', ''SynchronizationCriteria.Either'' for ''either'' and ''SynchronizationCriteria.None'' for ''none''. \\ [[library_powershell#enums|Enumeration syntax]] in PowerShell is like ''[WinSCP.SynchronizationCriteria]::Time''. | |
| ''-permissions'' \\ ''-nopermissions'' \\ ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. | | | ''-permissions'' \\ ''-nopermissions'' \\ ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. | | ||
| ''-speed=<kibps>'' | Not supported. | | | ''-speed=<kibps>'' | Not supported. | | ||
Line 60: | Line 60: | ||
</code> | </code> | ||
- | maps to following PowerShell code: | + | maps to following [[library_powershell|PowerShell]] code: |
<code powershell> | <code powershell> |