Actions26
- File Actions
- Folder Actions
Folder → Stat
AI-generatedSummary
Retrieve metadata about a folder at a specified remote path on an SMB share accessed via the smbclient CLI.
Inputs
- Smbclient Path — Specify a custom path to the smbclient binary if it is not available in the system PATH; defaults to 'smbclient'.
- Remote Path (required) — The remote folder path on the SMB share to stat, defaulting to '/'.
Output shape
a single JSON object per item containing metadata properties for the folder, including size, creation time, access time, modification time, change time, attributes, and a boolean indicating if it is a directory.
The operation returns metadata fields such as size (in bytes if available), timestamps (createTime, accessTime, writeTime, changeTime), an array of attributes, and isDirectory to indicate if the path is a folder. If the path does not exist or cannot be accessed, the operation will error out with indication from the underlying smbclient command output.