File Compress
file_compressCompress files or directories on an fnOS NAS into a single archive at a specified path, with optional password and compression level.
Instructions
压缩文件/目录为压缩包(写操作)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| level | No | 压缩级别 0-9 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| password | No | 压缩包密码 | |
| output_path | Yes | 输出压缩包路径(NAS 上),如 /vol1/1000/backup.zip | |
| source_paths | Yes | 源文件/目录路径列表(NAS 上) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |