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
false
keyExchangeAlgorithm string
keyfile string
overwrite booleanstring
Default
false
passphrase string
password string
port string
Default
22
proxyHost string
proxyPassword string
proxyPort string
proxyType string
proxyUser string
rootDir booleanstring
Default
true
to string
username string
Outputs
from string
Format
uri
to string
Format
uri