File Size
file_sizeCalculate the total size of a file or directory on an fnOS NAS by providing its path, enabling storage audits and cleanup decisions.
Instructions
计算文件/目录大小。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| path | Yes | NAS 上的路径,如 /vol1/1000/文档 | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |