Skip to content
Back to skills

Ftprsync

ASecurity

FTP/SFTP 远程同步备份任务。 触发词:极空间 / NAS / FTP 备份。

  • 417 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add infometa/workbuddyskills --skill ftprsync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ftprsync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ftprsync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/infometa-ftprsync/badge)](https://www.skillsdirectory.com/skills/infometa-ftprsync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zspace-ftprsync
description: FTP/SFTP 远程同步备份任务。 触发词:极空间 / NAS / FTP 备份。
description_zh: FTP/SFTP 远程同步备份任务。
description_en: FTP / SFTP remote sync backup tasks.
version: 2.0.3
author: zspace
allowed-tools: backup_status,nas_query
---

# FTP 备份(ftprsync / FTPBackUp)

FTP/SFTP 远程同步备份任务。

- 服务类型:**应用商店类(需先安装应用)**
- 对应目录:`NasServices/ftprsync`
- 对外前缀:`/AppStore/ftprsync/* → /ftprsync/*`
- 依赖应用:`FTPBackUp` —— 调用前连接器会自动过门禁,未安装返回 `E_APP_NOT_INSTALLED`
- 真机状态:⚠️ 未真机验证(应用未安装或接口来自源码推断)

## 1. 可用工具

| 工具 | 用途 | 风险 |
|---|---|---|
| `backup_status` | 查看极空间各类备份/恢复的状态:备份中心、文档同步、邮件备份、恢复助手(可用),以及 FTP 备份、网盘备份(需应用内登录,连接器只能报告其限制)。各项独立容错。 | 只读 |
| `nas_query` | 兜底只读查询:调用极空间上未封装成专用工具的**只读**接口(路径必须在只读白名单内)。仅当没有合适的专用工具时使用;写操作会被直接拒绝,请改用对应的专用工具。⚠️ 兜底路径**不做服务级整形、没有分页**:响应超过 max_bytes(默认 64KB)时会自动切片/摘要并回传 oversized 元信息(如 `/AppStore/v1/list` 实测 400KB+,应改用专用工具 `app_status`)。📌 返回结构:`{ok:true, data:{via:"fallback", path, data:<后端 data 字段>, ...}}` —— 后端载荷在 **`data.data`**,取用时别只看第一层(这是最常见的误读)。 | 只读 |

## 2. 关键接口

> 除下列已封装工具外,其余**只读**接口可用 `nas_query {path, method, params}` 兜底调用(须在只读白名单内)。

| 方法 | 路径 | 说明 | 风险 | nas_query 兜底 |
|---|---|---|---|---|
| GET | `/AppStore/ftprsync/download/list` | 备份任务列表(需 baseparam,连接器无法调用) | 只读 | ✅ 可直接调用 |

> **兜底用法(务必按接口要求调用)**:方法必须一致(POST 路由用 GET 调会 404);标 ⚠️ 的接口必须传全必填参数(如 `/v2/file/list` 必带 `path`),否则返回 `N001212 参数有误`。能用专用工具时优先用专用工具——参数与返回都已封装。

## 3. 典型用法

- 「FTP 备份状态」→ `backup_status {targets:["ftp"]}`

## 6. 备注

- 网关把 `/AppStore/ftprsync/…` 重写为 `/ftprsync/…`;返回结构为 open map,**未真机验证**。
- 真机实测:`/AppStore/ftprsync/download/list` 返回 N006001「参数错误.baseparam」——需应用内计算的 baseparam,连接器无法直接调用。

## 7. 参考

- 跨服务通用约定(响应外层 / 分页家族 / 错误码 / 路径映射 / 禁用清单):`skills/zfilev2/references/api-conventions.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.