Upload a file to a FTP server
type: "io.kestra.plugin.fs.ftp.Upload"
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"
YES
The file to copy, must be an internal storage URI
YES
Hostname of the remote server
NO
{
"connectionTimeout": "PT30S",
"dataTimeout": "PT30S",
"socketTimeout": "PT30S",
"controlKeepAliveTimeout": "PT30S",
"controlKeepAliveReplyTimeout": "PT30S"
}
YES
true
YES
Password on the remote server
YES
21
Port of the remote server
YES
FTP proxy host
YES
FTP proxy port
YES
DIRECT
HTTP
SOCKS
FTP proxy type
YES
true
YES
true
YES
The destination path, if not set it will use the name of the file denoted by the from
property
YES
Username on the remote server
uri
The fully-qualified URIs that point to source data
uri
The fully-qualified URIs that point to destination path
YES
PT30S
duration
The timeout for the initial control connection.
YES
PT30S
duration
The control keep alive reply timeout.
to ensure the socket be alive after download huge file.
YES
PT30S
duration
the control keep alive timeout.
to ensure the socket be alive after download huge file.
YES
PT30S
duration
The timeout for opening the data channel.
YES
PT30S
duration
The socket timeout.