SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

File → List Directory

AI-generated

Summary

Lists the entries in a directory on the configured SMB share using the smbclient CLI. For each incoming item, it returns the directory path and parsed entry details; the directory defaults to /.

Inputs

  • Smbclient Path — Path to the smbclient executable; defaults to smbclient if it is on PATH.
  • Directory — SMB directory to list; defaults to /.
  • SMB credentials (required) — The configured SMB connection credentials, including host and share.

Output shape

One JSON item per incoming item, containing directory and an entries array.

Each parsed entry may include name, size, attributes, and isDirectory; date and time are included when available in the CLI output. Dot entries and certain non-entry status lines are filtered out. Errors from the SMB operation are raised as node operation errors.

Links

Discussion