Transfer files and directories from the remote machines to the local client.
This module downloads files from the remote machines
(download options)options
A hashmap of options. All available keys and their values are described below
| Option | Description |
|---|---|
:srcrequired truetype string | A path to a file or directory on the remote hosts |
:destrequired truetype string | A local path to copy the files into. If :recurse is true and :dest path ends in a slash; indicates that destination is a directory and the contents of :src are to be copied into the directory. If :recurse is true and :dest path does not end in a slash; indicates that the :src directory is to be copies as the specified path. |
:recursetype boolean | If the remote path is a directory, recurse through all the files and directories |
:preservetype boolean | Preserve the remote files' modification flags when copying them to the local filesystem |
:dir-modetype integer | If |
:modetype integer | If |
:ownertype string | If specified the local files and directories will be owned by this user |
:grouptype string | If specified the local files and directories will be owned by this group |