> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 下载文件

<strong>参数说明</strong>参数类型是否必须说明ACCESS\_TOKENstring是接口凭证，使用指令 【A初始化-获取access\_token】获取fileidstring否文件fileid（只支持下载普通文件，不支持下载文件夹或微文档）使用指令【获取文件列表】获取文件保存路径string否下载到文件路径，不填写，默认只返回字典类型

<img src="https://mintcdn.com/bazhuayu-rpa-docs/3T28-M3CPw0yKoKf/helpcenter/commands/custom-commands/IPzFl8Q0/images/3Nr9iiMP-01.png?fit=max&auto=format&n=3T28-M3CPw0yKoKf&q=85&s=f340bd22d4f54a8a53f351f509fee0a1" alt="image" width="666" height="487" data-path="helpcenter/commands/custom-commands/IPzFl8Q0/images/3Nr9iiMP-01.png" />

字典返回格式

\{

"errcode": 0,

"errmsg": "ok",

"download\_url": "DOWNLOAD\_URL",

"cookie\_name": "COOKIE\_NAME",

"cookie\_value": "COOKIE\_VALUE"

}

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
