
Upload
Upload
yaml
type: "io.kestra.plugin.fs.sftp.Upload"Examples
yaml
id: fs_sftp_upload
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: upload
type: io.kestra.plugin.fs.sftp.Upload
host: localhost
port: "22"
username: foo
password: "{{ secret('SFTP_PASSWORD') }}"
from: "{{ inputs.file }}"
to: "/upload/dir2/file.txt"
Properties
from*Requiredstring
host*Requiredstring
enableSshRsa1booleanstring
Default
falsekeyExchangeAlgorithmstring
keyfilestring
overwritebooleanstring
Default
falsepassphrasestring
passwordstring
portstring
Default
22proxyAddressstring
proxyPasswordstring
proxyPortstring
proxyTypestring
proxyUsernamestring
rootDirbooleanstring
Default
truetostring
usernamestring
Outputs
fromstring
Format
uritostring
Format
uri