跳到主要内容

move_file

移动文件,将现有文件移动到同一存储桶中的新路径

声明

MessageResponse move_file(string sourceKey, string destinationKey)

参数

参数名描述
sourceKey源文件路径,包含文件名。格式应为 folder/subfolder/filename.png
destinationKey目标文件路径,包含文件名。格式应为 folder/subfolder/new-filename.png

返回值

MessageResponse 文件移动响应

使用方式

返回文档