---
title: "scp下载文件"
method: POST
path: "/download/scp"
tags: ["download"]
---

# scp下载文件

`POST /download/scp`

支持限速

## Request body

- DbmServicesMysqlDbToolsDbactuatorPkgComponentsBackupDownloadDFScpParam
  - `bk_biz_id` integer
  - `bwlimit_mb` integer — 单文件下载限速,单位 MB/s
  - `file_src` DbmServicesMysqlDbToolsDbactuatorPkgComponentsBackupDownloadFileSrc, required
    - `file_list` string[], required — 源文件名列表，相对上面的 path
    - `match` string
    - `path` string, required — 源文件所在目录
    - `ssh_host` string, required
    - `ssh_pass` string
    - `ssh_port` string, required
    - `ssh_user` string, required
  - `file_tgt` DbmServicesMysqlDbToolsDbactuatorPkgComponentsBackupDownloadFileTgt, required
    - `path` string, required — 文件下载目标目录
  - `max_concurrency` integer — 并发下载数

---

[API](https://skmtc.net/tencentblueking/apis/dbactuator-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/dbactuator-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/dbactuator-api/revisions/dc22dd49fd50/schema)
