SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

Get File

AI-generated

Summary

Download a file from an SMB share to the workflow as binary data.

Inputs

  • Smbclient Path — Path to the smbclient binary if it is not in the system PATH; defaults to 'smbclient'.
  • Remote Path (required) — The full path of the remote file on the SMB share to download.
  • Binary Property (Output) — The property name for the output binary file data; defaults to 'data'.
  • File Name (Output) — The file name to assign the downloaded file in the output; defaults to the basename of the remote path.
  • MIME Type (Output) — The MIME type to assign to the downloaded file; defaults to 'application/octet-stream'.

Output shape

a single item per input file, each containing binary data of the downloaded file and JSON metadata

The output JSON includes the remotePath and sets the binary data under the specified Binary Property (Output). The file name used is either the user-specified output filename or the basename of the remote path. The operation uses a temporary local file during download, which is deleted after reading. Errors in downloading are thrown as NodeOperationError. No pagination or additional metadata is returned.

Links

Discussion