> ## 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】获取spaceidstring否空间spaceidfatheridstring否父目录fileid, 在根目录时为空间spaceidfile\_namestring是文件名字（注意：文件名最多填255个字符, 英文算1个, 汉字算2个）本地文件路径string是本地文件路径，文件大小上限为10M。

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

返回字典格式

\{

"fileid": "s.ww8156d878fdf6f8d3.762411572gC0\_f.762478780oeXx",

"errcode": 0,

"errmsg": "ok"

}

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