Download FTP with YAML
Learn more about:
YAML parameters for Download FTP
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to DOWNLOAD_FTP . |
source_path Required | String | The path from which the file will be downloaded. |
destination_path Required | String | The path in which the file will be saved. |
host Required | String | The host for the connection. |
login Required | String | The username required to connect to the server. |
port Required | String | The port for the connection. |
password Required | String | The password required to connect to the server. |
overwrite | Boolean | Replace files if they already exist. |
recursive | Boolean | If set to true , the whole directory tree is downloaded, otherwise only the files from the path are downloaded. |
download_excludes | String[] | The paths and/or files that will be left out during the download. |
download_includes | String[] | The exceptions from the ignore patterns set in download_excludes . |
YAML example for Download FTP
actions:- action: "Download files from $host"type: "DOWNLOAD_FTP"source_path: "source"destination_path: "destination"login: "username"password: "secure!R6gJWacVUBuxvJiNxu4hUQ=="host: "$host"port: "21"download_excludes:- "/tmp"- "*.log"download_includes:- "/tmp/assets"- "/tmp/styles"