SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

File → Download

AI-generated

Summary

Downloads the configured remote SMB file for each input item and returns its contents as n8n binary data. Uses the required SMB2 credentials and the configured smbclient executable path.

Inputs

  • Smbclient Path — Path to the smbclient executable; defaults to smbclient.
  • Remote Path — Path of the file to download from the configured share; defaults to /.
  • Binary Property (Output) — Name of the output binary property; defaults to data.
  • File Name (Output) — Filename assigned to the binary output. If blank, the remote path's basename is used.
  • MIME Type (Output) — MIME type assigned to the binary output; defaults to application/octet-stream.

Output shape

One item per input item, each containing binary file data and JSON metadata.

The binary is stored under the configured output property. JSON includes fileName and remotePath; download or SMB command errors fail the operation.

Links

Discussion