Move a file to a FTP server.
If the destination directory doesn't exist, it will be created
yaml
type: "io.kestra.plugin.fs.ftp.Move"
yaml
id: fs_ftp_move
namespace: company.team
tasks:
- id: move
type: io.kestra.plugin.fs.ftp.Move
host: localhost
port: 21
username: foo
password: pass
from: "/upload/dir1/file.txt"
to: "/upload/dir2/file.txt"
Dynamic YES
The file or directory to move from remote server.
Dynamic YES
Hostname of the remote server
Dynamic 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.
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
DIRECTHTTPSOCKS
FTP proxy type
Dynamic YES
Default true
Dynamic YES
Default true
Dynamic YES
Username on the remote server
Format uri
The from uri
Format uri
The destination uri