Actions8
Delete File
AI-generatedSummary
Delete a file on the connected SMB share at the specified remote path.
Inputs
- Smbclient Path — Custom path to the smbclient binary if it is not available in the system PATH (optional; default is 'smbclient').
- Remote Path (required) — Absolute path of the file on the SMB share to delete.
Output shape
a single JSON object with the deleted remote path and a deletion success flag
Each input item results in an output item confirming deletion with fields: { json: { remotePath: string; deleted: true } }. Throws an error if deletion fails.
Examples
Example 1: Delete a file at specified SMB share path
Set 'Remote Path' to the target file path; optionally customize 'Smbclient Path'. Execute node to remove file from SMB.