Differences
This shows you the differences between the selected revisions of the page.
2017-12-05 | 2019-07-02 | ||
removing unneeded byval (martin) | deletes only successfully transferred files (martin) | ||
Line 27: | Line 27: | ||
| 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#filemask|TransferOptions.FileMask]]''.)) to select multiple files. To upload all files in a directory, use mask ''*''. | | | 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#filemask|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 a successful transfer. Defaults to ''false''. | |
| [[library_transferoptions|TransferOptions]] ==options== | Transfer options. Defaults to ''null'', what is equivalent to ''new TransferOptions()''. | | | [[library_transferoptions|TransferOptions]] ==options== | Transfer options. Defaults to ''null'', what is equivalent to ''new TransferOptions()''. | | ||