Uploads
Uploads
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 *Requiredstringarrayobject
host *Requiredstring
to *Requiredstring
enableSshRsa1 booleanstring
Default
falsekeyExchangeAlgorithm string
keyfile string
maxFiles integerstring
Default
25passphrase string
password string
port string
Default
22proxyAddress string
proxyPassword string
proxyPort string
proxyType string
proxyUsername string
rootDir booleanstring
Default
trueusername string
Outputs
files array
SubTypestring