Differences

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

2015-08-04 2015-08-07
documenting get/put inconsistency (martin) ending path with slash is now forbidden + * mask suggestion (martin)
Line 23: Line 23:
==== Parameters ==== ==== Parameters ====
^ Name ^ Description ^ ^ Name ^ Description ^
-| string localPath | Full path to local file or directory to upload.((Contrary to ''[[library_session_getfiles|Session.GetFiles]]'', when the path ends with a backslash, the backslash is ignored. The local directory is uploaded as a subdirectory of the destination directory.)) Filename in the path can be replaced with Windows wildcard ((The Windows wildcard supports ''*'' and ''?'' only. If you want to use a full syntax of [[file_mask|file masks]], use a ''[[library_transferoptions|TransferOptions.FileMask]]''.)) to select multiple files.  |+| string localPath | Full path to local file or directory to upload. Filename in the path can be replaced with Windows wildcard ((The Windows wildcard supports ''*'' and ''?'' only. If you want to use a full syntax of [[file_mask|file masks]], use a ''[[library_transferoptions|TransferOptions.FileMask]]''.)) to select multiple files. To upload all files in a directory, use mask ''*''. |
| string remotePath | Full path to upload the file to. When uploading multiple files, the filename in the path should be replaced with [[operation_mask|operation mask]] or omitted (path ends with slash). | | string remotePath | Full path to upload the file to. When uploading multiple files, the filename in the path should be replaced with [[operation_mask|operation mask]] or omitted (path ends with slash). |
| bool remove | When set to ''true'', deletes source local file(s) after transfer. Defaults to ''false''. | | bool remove | When set to ''true'', deletes source local file(s) after transfer. Defaults to ''false''. |

Last modified: by martin