Delete Delete

yaml
type: "io.kestra.plugin.fs.ftp.Delete"

Delete a file to a FTP server.

Examples

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"

Properties

host

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Hostname of the remote server

uri

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The file to delete

errorOnMissing

  • Type:
    • boolean
    • string
  • Dynamic: ✔️
  • Required:

passiveMode

  • Type:
    • boolean
    • string
  • Dynamic: ✔️
  • Required:

password

  • Type: string
  • Dynamic: ✔️
  • Required:

Password on the remote server

port

  • Type: string
  • Dynamic: ✔️
  • Required:
  • Default: 21

Port of the remote server

proxyHost

  • Type: string
  • Dynamic: ✔️
  • Required:

FTP proxy host

proxyPort

  • Type: string
  • Dynamic: ✔️
  • Required:

FTP proxy port

proxyType

  • Type: string
  • Dynamic: ✔️
  • Required:
  • Possible Values:
    • DIRECT
    • HTTP
    • SOCKS

FTP proxy type

remoteIpVerification

  • Type:
    • boolean
    • string
  • Dynamic: ✔️
  • Required:

rootDir

  • Type:
    • boolean
    • string
  • Dynamic: ✔️
  • Required:

username

  • Type: string
  • Dynamic: ✔️
  • Required:

Username on the remote server

Outputs

deleted

  • Type: boolean
  • Required:
  • Default: false

If the files was really deleted

uri

  • Type: string
  • Required:
  • Format: uri

The deleted uri

Definitions

Was this page helpful?