Delete Delete

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

Delete a file from a SMB (Samba for eg.) server.

Examples

yaml
id: fs_smb_delete
namespace: company.team

tasks:
  - id: delete
    type: io.kestra.plugin.fs.smb.Delete
    host: localhost
    port: "445"
    username: foo
    password: pass
    uri: "/my_share/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:

password

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

Password on the remote server

port

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

Port of the remote server

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?