Delete a file to a FTP server.
yaml
type: "io.kestra.plugin.fs.ftp.Delete"
yaml
id: fs_ftp_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.fs.ftp.Delete
host: localhost
port: 21
username: foo
password: pass
uri: "/upload/dir1/file.txt"
Dynamic
YES
Hostname of the remote server
Dynamic
YES
The file to delete
Dynamic
YES
Default
false
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
true
Dynamic
YES
Default
true
Dynamic
YES
Username on the remote server
Default
false
If the files was really deleted
Format
uri
The deleted uri
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.