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
enableSshRsa1 booleanstring
Default
falsekeyExchangeAlgorithm string
keyfile string
overwrite booleanstring
Default
falsepassphrase string
password string
port string
Default
22proxyAddress string
proxyPassword string
proxyPort string
proxyType string
proxyUsername string
rootDir booleanstring
Default
trueto string
username string
Outputs
from string
Format
urito string
Format
uri