Delete a file from an SMB (e.g., Samba) server.

yaml
type: "io.kestra.plugin.fs.smb.Delete"
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: "{{ secret('SMB_PASSWORD') }}"
    uri: "/my_share/dir1/file.txt"
Properties

Hostname of the remote server

The file to delete

Default false

Enable the RSA/SHA1 algorithm (disabled by default)

Default false

raise an error if the file is not found

Password on the remote server

Default 445

Port of the remote server

Username on the remote server

Default false

If the files was really deleted

Format uri

The deleted uri