Upload a file to a FTP server
yaml
type: "io.kestra.plugin.fs.ftp.Upload"
yaml
id: fs_ftp_upload
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: upload
type: io.kestra.plugin.fs.ftp.Upload
host: localhost
port: 21
username: foo
password: pass
from: "{{ inputs.file }}"
to: "/upload/dir2/file.txt"
Dynamic YES
The file to copy, must be an internal storage URI
Dynamic YES
Hostname of the remote server
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
The destination path, if not set it will use the name of the file denoted by the from
property
Dynamic YES
Username on the remote server
Format uri
The fully-qualified URIs that point to source data
Format uri
The fully-qualified URIs that point to destination path