File Calc
file_calcCompute recursive directory statistics for a given fnOS NAS path to get total size, file count, and folder count instead of only single-item size.
Instructions
计算目录统计信息(递归统计,与 file_size 的单条目大小不同)。
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 |