Upload files to a FTP server's directory
yaml
type: "io.kestra.plugin.fs.ftp.Uploads"
yaml
id: fs_ftp_uploads
namespace: company.team
inputs:
- id: file1
type: FILE
- id: file2
type: FILE
tasks:
- id: uploads
type: io.kestra.plugin.fs.ftp.Uploads
host: localhost
port: 21
username: foo
password: pass
from:
- "{{ inputs.file1 }}"
- "{{ inputs.file2 }}"
to: "/upload/dir2"
Dynamic YES
The files to upload, must be internal storage URIs, must be a list of URIs or a pebble template that returns a list of URIs
Dynamic YES
Hostname of the remote server
Dynamic YES
The destination directory
Dynamic YES
Default true
Dynamic YES
Password on the remote server
Dynamic YES
Default 21
Port of the remote server
Dynamic YES
FTP proxy host
Dynamic YES
FTP proxy port
Dynamic YES
Possible Values
DIRECTHTTPSOCKS
FTP proxy type
Dynamic YES
Default true
Dynamic YES
Default true
Dynamic YES
Username on the remote server
SubType string
The fully-qualified URIs that point to the uploaded files on remote