
Uploads
CertifiedUpload multiple files via SFTP
Uploads
Certified
Upload multiple files via SFTP
yaml
type: io.kestra.plugin.fs.sftp.UploadsExamples
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"
yaml
id: fs_sftp_uploads_regexp
namespace: company.team
tasks:
- id: uploads
type: io.kestra.plugin.fs.sftp.Uploads
host: sftp.example.com
port: "22"
username: foo
password: "{{ secret('SFTP_PASSWORD') }}"
from:
- "{{ outputs.step1.uri }}"
- "{{ outputs.step2.uri }}"
regExp: ".*\\.sql$"
to: "/remote/path"
yaml
id: fs_sftp_uploads_with_names
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:
report.csv: "{{ inputs.file1 }}"
data.json: "{{ inputs.file2 }}"
to: "/upload/dir2"
Properties
from *Requiredstringobject
Definitions
io.kestra.plugin.fs.vfs.List
enableSshRsa1*Requiredbooleanstring
from*Requiredstring
host*Requiredstring
maxFilesintegerstring
passwordstring
pluginDefaultsRefstring
recursivebooleanstring
regExpstring
sortstring
Possible Values
NONELAST_MODIFIED_ASCLAST_MODIFIED_DESCNAME_ASCNAME_DESCtypeobject
usernamestring
host *Requiredstring
to *Requiredstring
enableSshRsa1 booleanstring
Default
falsekeyExchangeAlgorithm string
keyfile string
maxFiles integerstring
Default
25overwrite booleanstring
Default
truepassphrase string
password string
pluginDefaultsRef Non-dynamicstring
port string
Default
22proxyAddress string
proxyPassword string
proxyPort string
proxyType string
proxyUsername string
regExp string
rootDir booleanstring
Default
trueusername string
Outputs
files array
SubTypestring