SMB2 using smbclient icon

SMB2 using smbclient

Interact with SMB shares using the smbclient CLI

File → Get Metadata

AI-generated

Summary

Fetches metadata for a file or folder at the specified SMB remote path using smbclient and returns the path with parsed metadata.

Inputs

  • Smbclient Path — Path to the smbclient executable; defaults to smbclient from PATH.
  • Remote Path — SMB path to inspect; defaults to /.
  • SMB credentials (required) — SMB2 API credentials provide the server host, share, username, password, and optional domain.

Output shape

A single JSON item per input item.

Each item contains remotePath, size, createTime, accessTime, writeTime, changeTime, attributes, and isDirectory. Metadata values may be undefined when smbclient output does not provide them. The operation calls allinfo for each input item; errors are surfaced as node operation errors.

Links

Discussion