File Delete
file_deletePermanently delete files or directories from an fnOS NAS; this is a hard, irreversible write operation and bypasses trash recovery.
Instructions
删除文件/目录(写操作,⚠️ 永久删除)。
实测:trim-cli 的 file rm 是硬删除,文件不会出现在 /vol1//.@#local/trash 里,file_trash_list 也查不到, file_trash_restore 更是无效。调用前请自行确认。
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 |