Actions26
- File Actions
- Folder Actions
Folder → Get File
AI-generatedSummary
Downloads a file from the SMB share at Remote Path and returns its contents as binary data on each input item. Configure the output binary property, filename, and MIME type; the filename defaults to the remote path’s basename.
Inputs
- Smbclient Path — Path to the smbclient executable; defaults to smbclient.
- Remote Path (required) — Path of the file to download from the SMB share; defaults to /.
- Binary Property (Output) — Name of the output binary field; defaults to data.
- File Name (Output) — Filename stored with the binary output. If blank, uses the basename of Remote Path.
- MIME Type (Output) — MIME type assigned to the output binary; defaults to application/octet-stream.
Output shape
One n8n item per input item, containing a json object and binary data.
The JSON includes fileName and remotePath. Binary content is stored under the configured Binary Property (Output). The node downloads each file to a temporary local file, reads it, then attempts to remove the temporary file.