Move a file to a FTPS server.
If the destination directory doesn't exist, it will be created
type: "io.kestra.plugin.fs.ftps.Move"
id: fs_ftps_move
namespace: company.team
tasks:
- id: move
type: io.kestra.plugin.fs.ftps.Move
host: localhost
port: 990
username: foo
password: pass
from: "/upload/dir1/file.txt"
to: "/upload/dir2/file.txt"
YES
The file or directory to move from remote server.
YES
Hostname of the remote server
YES
The path to move the file or directory to on the remote server.
The full destination path (with filename optionally)
If end with a /
, the destination is considered as a directory and filename will be happen
If the destFile exists, it is deleted first.
YES
P
C
S
E
P
Sets the data channel protection level (PROT).
YES
Whether the client should disable checking of the remote SSL certificate.
Note: This makes the SSL connection insecure, and should only be used for testing.
YES
EXPLICIT
IMPLICIT
EXPLICIT
Sets FTPS mode, either "implicit" or "explicit".
NO
{
"connectionTimeout": "PT30S",
"dataTimeout": "PT30S",
"socketTimeout": "PT30S",
"controlKeepAliveTimeout": "PT30S",
"controlKeepAliveReplyTimeout": "PT30S"
}
YES
true
Whether to use a passive mode. Passive mode is generally considered more secure as it's less likely to encounter issues with NAT and firewalls. Therefore, this property is by default set to true
. To use active mode instead, set the property to false
.
YES
Password on the remote server
YES
990
Port of the remote server
YES
FTP proxy host
YES
FTP proxy port
YES
DIRECT
HTTP
SOCKS
FTP proxy type
YES
true
Control that the server ip that emit the request is the same than send response.
YES
true
Is the path relative to the users home directory
YES
Username on the remote server
uri
The from uri
uri
The destination uri
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.