SFTP
Transfers files using SFTP.
If no script file is specified with SCRIPT, input is used to specify the commands to be executed, e.g.:
yaml
input: |
put localfile.txt
get remotefile.txtParams
| Param | Description |
|---|---|
SSH_LOGIN_USER | SSH user (string) |
SSH_LOGIN_PASSWORD | SSH password (string) |
SSH_LOGIN_KEY | SSH private key file (string) |
HOST | Host to connect to (string) |
PORT | Custom port to connect to (string) |
SSH_OPTIONS | Additional SSH options (e.g. -o Option1=value -o Option2=value) (string) |
SCRIPT | Script file to be executed (or - for stdin) (default: -) (string | "-") |