跳到主要内容

download_file

从现有存储桶下载文件

声明

mixed download_file(string file_path, UrlOptions url_options, int content_type)

参数

参数名描述
file_path文件路径,包括文件名。格式应为 folder/subfolder/filename.png
url_optionsURL 选项
content_type内容类型(pkg.httpclient.Content_Type 枚举值)

返回值

mixed 文件数据

使用方式

返回文档