yaml
type: "io.kestra.plugin.fs.sftp.uploads"
Examples
yaml
id: fs_sftp_uploads
namespace: company.team
inputs:
- id: file1
type: FILE
- id: file2
type: FILE
tasks:
- id: uploads
type: io.kestra.plugin.fs.sftp.Uploads
host: localhost
port: "22"
username: foo
password: "{{ secret('SFTP_PASSWORD') }}"
from:
- "{{ inputs.file1 }}"
- "{{ inputs.file2 }}"
to: "/upload/dir2"
Properties
from *Requiredstringarray
host *Requiredstring
to *Requiredstring
enableSshRsa1 booleanstring
Default
false
keyExchangeAlgorithm string
keyfile string
passphrase string
password string
port string
Default
22
proxyHost string
proxyPassword string
proxyPort string
proxyType string
proxyUser string
rootDir booleanstring
Default
true
username string
Outputs
files array
SubType string