downloadFile
¶
This task downloads a single file from the device. This task is slightly faster than the download task since it does not need to make a query to determine which files to download. Use this task to download a single file and use download to download multiple files.
Attributes/Options¶
Name |
Description |
Required |
---|---|---|
file |
Fully qualified path of the file on the device. If the filesystem in the form of |
Yes |
to |
Local directory or file name where the remote file will be saved. If this is an existing directory, DPBuddy will preserve the file name. Otherwise, DPBuddy will use the value of |
Yes |
Examples¶
This task will save the file to the “dpconfigs” directory:
<dp:download file="pubcert://American-Express-Global-CA.pem" to="dpconfigs" />