Download multiple files from FTP server
type: "io.kestra.plugin.fs.ftp.Downloads"
Download a list of files and move it to an archive folders
id: fs_ftp_downloads
namespace: company.team
tasks:
- id: downloads
type: io.kestra.plugin.fs.ftp.Downloads
host: localhost
port: 21
username: foo
password: pass
from: "/in/"
interval: PT10S
action: MOVE
moveDirectory: "/archive/"
YES
The directory to list
YES
Hostname of the remote server
YES
MOVE
DELETE
NONE
The action to do on downloaded files
YES
The destination directory in case of MOVE
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
false
YES
A regexp to filter on full path
YES
true
YES
true
YES
Username on the remote server
NO
date-time
NO
FOLDER
FILE
FILE_OR_FOLDER
IMAGINARY
NO
NO
NO
NO
uri
NO
NO
NO
false
NO
date-time
NO
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.