List files from FTP server directory
yaml
type: "io.kestra.plugin.fs.ftp.List"
yaml
id: fs_ftp_list
namespace: company.team
tasks:
- id: list
type: io.kestra.plugin.fs.ftp.List
host: localhost
port: 21
username: foo
password: pass
from: "/upload/dir1/"
regExp: ".*\/dir1\/.*.(yaml|yml)"
Dynamic
YES
The fully-qualified URIs that point to path
Dynamic
YES
Hostname of the remote server
Dynamic
NO
Default
{
"connectionTimeout": "PT30S",
"dataTimeout": "PT30S",
"socketTimeout": "PT30S",
"controlKeepAliveTimeout": "PT30S",
"controlKeepAliveReplyTimeout": "PT30S"
}
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
DIRECT
HTTP
SOCKS
FTP proxy type
Dynamic
YES
Default
false
Dynamic
YES
A regexp to filter on full path
Dynamic
YES
Default
true
Dynamic
YES
Default
true
Dynamic
YES
Username on the remote server
Dynamic
NO
Format
date-time
Dynamic
NO
Possible Values
FOLDER
FILE
FILE_OR_FOLDER
IMAGINARY
Dynamic
NO
Dynamic
NO
Dynamic
NO
Dynamic
NO
Format
uri
Dynamic
NO
Dynamic
NO
Dynamic
NO
Default
false
Dynamic
NO
Format
date-time
Dynamic
NO
Dynamic
YES
Default
PT30S
Format
duration
The timeout for the initial control connection.
Dynamic
YES
Default
PT30S
Format
duration
The control keep alive reply timeout.
to ensure the socket be alive after download huge file.
Dynamic
YES
Default
PT30S
Format
duration
the control keep alive timeout.
to ensure the socket be alive after download huge file.
Dynamic
YES
Default
PT30S
Format
duration
The timeout for opening the data channel.
Dynamic
YES
Default
PT30S
Format
duration
The socket timeout.