Delete Delete

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

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

Examples

yaml
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
  • Dynamic:
  • Required:
  • Default: false

raise an error if the file is not found

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
  • Dynamic:
  • Required:
  • Default: false

If the files was really deleted

uri

  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

The deleted uri