一、OSSObject是阿里云oss的基础对象
对象是OSS存储数据的基本单元,也被称为OSS的文件。对象由元信息(Object Meta)、用户数据(Data)和文件名(Key)组成。对象由存储空间内部唯一的Key来标识。对象元信息是一组键值对,表示了对象的一些属性,例如最后修改时间、大小等信息,同时您也可以在元信息中存储一些自定义的信息。
The entity class for representing an object in OSS.
In OSS, every file is an OSSObject and every single file should be less than 5G for using Simple upload, Form upload and Append Upload. Only multipart upload could upload a single file more than 5G. Any object has key, data and user metadata. The key is the object's name and the data is object's file content. The user metadata is a dictionary of key-value entries to store some custom data about the object.
Object naming rules
use UTF-8 encoding
Length is between 1 to 1023
Could not have slash or backslash
在OSS中表示一个对象的实体类。
在OSS中,每一个文件都是一个OSSObject,使用Simple upload、Form upload和Append upload每一个文件都要小于5G。只有多段上传才能上传单个文件超过5G。任何