SMB icon

SMB

Perform CRUD operations on SMB/Samba file shares

Actions8

File → Download

AI-generated

Summary

Downloads a file from the configured SMB share and attaches it to each input item as binary data. Set the share-relative file path and the binary output field name; the output also includes the path and downloaded size in JSON.

Inputs

  • File Path (required) — Path of the file on the SMB share, for example /path/to/file.txt.
  • Put Output in Field (required) — Binary property name for the downloaded file; defaults to data.

Output shape

One output item per input item, with JSON and binary data.

JSON contains success: true, the requested path, and the file size in bytes. Binary data is stored under the configured field name. If an item’s download fails, the node errors unless Continue On Fail is enabled; then it outputs success: false and an error message for that item.

Examples

Example 1: Download a file from an SMB share

Set File Path to /reports/daily.csv and Put Output in Field to file (or leave the default data).

Example 2: Use the downloaded file in a later node

Read the binary output from the configured field, such as file, and use the JSON path and size for metadata or routing.

Links

Discussion