Download FTP with YAML

YAML parameters for Download FTP

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to DOWNLOAD_FTP.
source_path
Required
StringThe path from which the file will be downloaded.
destination_path
Required
StringThe path in which the file will be saved.
host
Required
StringThe host for the connection.
login
Required
StringThe username required to connect to the server.
port
Required
StringThe port for the connection.
password
Required
StringThe password required to connect to the server.
overwriteBooleanReplace files if they already exist.
recursiveBooleanIf set to true, the whole directory tree is downloaded, otherwise only the files from the path are downloaded.

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"