Differences

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

2018-10-17 2019-04-16
5.14 Transfer settings that do not have a dedicated scripting switch or a .NET TransferOptions property can be set using -rawtransfersettings switch or TransferOptions.AddRawSettings method. (martin) FilePermissions is supported with SFTP and SCP only (martin)
Line 24: Line 24:
^ Name ^ Description ^ ^ Name ^ Description ^
| string ==FileMask== | [[ui_transfer_custom#other|File mask]]. | | string ==FileMask== | [[ui_transfer_custom#other|File mask]]. |
-| [[library_filepermissions|FilePermissions]] ==FilePermissions== | Permissions to applied to a remote file (used for uploads only). Use default ''null'' to keep default permissions. |+| [[library_filepermissions|FilePermissions]] ==FilePermissions== | Permissions to applied to a remote file (used for uploads only). Use default ''null'' to keep default permissions. [[SFTP]] and [[SCP]] protocols only. |
| OverwriteMode ==OverwriteMode== | Behavior when overwriting existing files. \\ Possible values are: \\ ''OverwriteMode.Overwrite'' (default) to overwrite the existing files. \\ ''OverwriteMode.Resume'' to assume that the existing and smaller file is a remnant of an interrupted transfer and resumes the transfer. [[SFTP]] and [[FTP]] protocols only. \\ ''OverwriteMode.Append'' to append the source file to the end of existing target file. [[sftp|SFTP protocol]] only. | | OverwriteMode ==OverwriteMode== | Behavior when overwriting existing files. \\ Possible values are: \\ ''OverwriteMode.Overwrite'' (default) to overwrite the existing files. \\ ''OverwriteMode.Resume'' to assume that the existing and smaller file is a remnant of an interrupted transfer and resumes the transfer. [[SFTP]] and [[FTP]] protocols only. \\ ''OverwriteMode.Append'' to append the source file to the end of existing target file. [[sftp|SFTP protocol]] only. |
| bool ==PreserveTimestamp== | Preserve timestamp (set last write time of destination file to that of source file). Defaults to ''true''. \\ When used with ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'', timestamp is always preserved, disregarding property value, unless ''criteria'' parameter is ''SynchronizationCriteria.None'' or ''SynchronizationCriteria.Size''. | | bool ==PreserveTimestamp== | Preserve timestamp (set last write time of destination file to that of source file). Defaults to ''true''. \\ When used with ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'', timestamp is always preserved, disregarding property value, unless ''criteria'' parameter is ''SynchronizationCriteria.None'' or ''SynchronizationCriteria.Size''. |

Last modified: by martin