SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

File → Get File

AI-generated

Summary

Downloads the file at the specified SMB remote path using the configured smbclient binary and returns its contents as n8n binary data.

Inputs

  • Smbclient Path — Path to the smbclient executable; defaults to smbclient.
  • Remote Path (required) — Path of the file on the SMB share; defaults to /.
  • Binary Property (Output) — Name of the output binary property; defaults to data.
  • File Name (Output) — Filename attached to the output binary. If empty, uses the basename of Remote Path.
  • MIME Type (Output) — MIME type attached to the output binary; defaults to application/octet-stream.

Output shape

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

The binary is stored under the configured output property. JSON includes fileName and remotePath. Requires the SMB credentials configured for the node; command or file errors fail the operation.

Links

Discussion