Differences
This shows you the differences between the selected revisions of the page.
2015-07-22 | 2015-08-04 | ||
library_example_recursive_download_custom_error_handling (martin) | documenting get/put inconsistency (martin) | ||
Line 23: | Line 23: | ||
==== Parameters ==== | ==== Parameters ==== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | 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. When file name is omitted (path ends with backslash), all files and subdirectories in the local directory are uploaded. | | + | | 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 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''. | |