Actions26
- File Actions
- Folder Actions
File → Stat
AI-generatedSummary
Retrieve metadata of a specified file on an SMB share using the smbclient CLI.
Inputs
- Smbclient Path — Optional custom path to the smbclient binary if it is not in the system PATH; defaults to 'smbclient'.
- Remote Path (required) — Path to the remote file on the SMB share for which metadata is to be retrieved.
Output shape
a single JSON object per input item containing the file's metadata fields such as size, createTime, accessTime, writeTime, changeTime, attributes, and isDirectory.
Returns metadata for one file specified by 'Remote Path' in each input item. Throws an error if the file does not exist or the SMB operation fails.