14.5. download
¶
This task downloads files from the device to the local file system.
The task downloads all files that matched the provided regexp pattern. Unless the flatten
attribute is set to true
, the task will recreate the remote directories containing the files locally. Empty directories will not be created.
14.5.1. Attributes/Options¶
Name | Description | Required |
---|---|---|
include | Regular expression pattern defining what files to download. The match is done against the entire path of a file, including the filesystem (e.g., |
Yes |
toDir | Local directory where to save the files. | Yes |
flatten | If set to Defaults to |
No |
matchRequired | If set to Defaults to |
No |
cleanToDir | If set to Defaults to |
No |
dryRun | If set to Defaults to |
No |