Differences
This shows you the differences between the selected revisions of the page.
| 2011-12-28 | 2011-12-28 | ||
| created (martin) | longer intro (martin) | ||
| Line 1: | Line 1: | ||
| ====== Session.GetFiles Method ====== | ====== Session.GetFiles Method ====== | ||
| - | Downloads files.· | + | [[task_download|Downloads]] one or more files from remote directory to local directory. |
| ===== Syntax ===== | ===== Syntax ===== | ||
| Line 14: | Line 14: | ||
| ==== Parameters ==== | ==== Parameters ==== | ||
| ^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| - | | string remotePath | Full path to remote file to download. Filename in the path can be replaced with [[file_mask|wildcard]] to select multiple files. When file name is omited (path ends with slash), all files and subdirectories in the remote directory are downloaded. | | + | | string remotePath | Full path to remote file or directory to download. Filename in the path can be replaced with [[file_mask|wildcard]] to select multiple files. When file name is omited (path ends with slash), all files and subdirectories in the remote directory are downloaded. | |
| | string localPath | Full path to download the file to. When downloading multiple files, the filename in the path should be replaced with [[operation_mask|operation mask]] or omited (path ends with backslash). | | | string localPath | Full path to download the file to. When downloading multiple files, the filename in the path should be replaced with [[operation_mask|operation mask]] or omited (path ends with backslash). | | ||
| | bool remove | When set to ''true'', deletes source remote file(s) after transfer. Defaults to ''false''. | | | bool remove | When set to ''true'', deletes source remote file(s) after transfer. Defaults to ''false''. | | ||