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

Defaultfalse

Enable the RSA/SHA1 algorithm (disabled by default)

Defaultfalse

raise an error if the file is not found

Password on the remote server

Default445

Port of the remote server

Username on the remote server

Defaultfalse

If the files was really deleted

Formaturi

The deleted uri