Delete a file from an SMB (e.g., Samba) server.
yaml
type: "io.kestra.plugin.fs.smb.Delete"
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: "{{ secret('SMB_PASSWORD') }}"
uri: "/my_share/dir1/file.txt"
Properties
host *Requiredstring
Hostname of the remote server
uri *Requiredstring
The file to delete
enableSshRsa1 booleanstring
Default
false
Enable the RSA/SHA1 algorithm (disabled by default)
errorOnMissing booleanstring
Default
false
raise an error if the file is not found
password string
Password on the remote server
port string
Default
445
Port of the remote server
username string
Username on the remote server
Outputs
deleted boolean
Default
false
If the files was really deleted
uri string
Format
uri
The deleted uri