Differences

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

2015-12-21 2015-12-21
5.8 Bug 1358 Resume and Append (TransferOptions.OverwriteMode) in .NET assembly. (martin) 5.8 Switch -latest for get and put commands to transfer the latest file only. (martin)
Line 17: Line 17:
^ Switch                  ^ Description ^ ^ Switch                  ^ Description ^
| ''-delete''              | Delete source local file(s) after transfer. | | ''-delete''              | Delete source local file(s) after transfer. |
 +| ''-latest''              | Uploads the latest file from the files selected by the ''file'', ''file2'' ... parameters (typically [[file_mask|file masks]]) only. &beta_feature |
| ''-resume''              | Automatically resume transfer if possible ((Applies for individual files transfers only. It does not skip transfer of fully transferred files. For that, combine the switch with ''-neweronly''.)) ([[SFTP]] and [[FTP]] protocols only). Cannot be combined with ''-append''. | | ''-resume''              | Automatically resume transfer if possible ((Applies for individual files transfers only. It does not skip transfer of fully transferred files. For that, combine the switch with ''-neweronly''.)) ([[SFTP]] and [[FTP]] protocols only). Cannot be combined with ''-append''. |
| ''-append''              | Append source file to the end of target file ([[sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. | | ''-append''              | Append source file to the end of target file ([[sftp|SFTP protocol]] only). Cannot be combined with ''-resume''. |
Line 63: Line 64:
^ Switch                  ^ Mapping ^ ^ Switch                  ^ Mapping ^
| ''-delete''              | Value ''true'' (''$True'' in PowerShell) for method parameter ''remove''. | | ''-delete''              | Value ''true'' (''$True'' in PowerShell) for method parameter ''remove''. |
 +| ''-latest''              | See [[script_upload_most_recent_file|Uploading the most recent file]]. |
| ''-resume'' \\ ''-append'' \\ ''-preservetime'' \\ ''-nopreservetime'' \\  ''-permissions'' \\ ''-nopermissions'' \\ ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' \\ ''-speed=<kbps>'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. | | ''-resume'' \\ ''-append'' \\ ''-preservetime'' \\ ''-nopreservetime'' \\  ''-permissions'' \\ ''-nopermissions'' \\ ''-transfer'' \\ ''-filemask'' \\ ''-resumesupport'' \\ ''-speed=<kbps>'' | [[library_from_script_transfer_settings|Converting transfer settings scripting switches]] to .NET assembly class ''TransferSettings''. |
| ''-neweronly''          | Not supported. Use ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'' instead. | | ''-neweronly''          | Not supported. Use ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'' instead. |

Last modified: by martin