Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Object Storage Service/ SDK Reference/ Go/ Objects (SDK for Go)/ Object Upload Overview (SDK for Go)

Object Upload Overview (SDK for Go)

Updated on 2024-06-21 GMT+08:00

In OBS, objects are basic data units that you can operate. OBS Go SDK provides abundant APIs for object upload in the following methods:

SDK supports the upload of objects whose size ranges from 0 KB to 5 GB. If a file is smaller than 5 GB, streaming upload and file-based upload are applicable. If the file is larger than 5 GB, multipart upload (whose part size is smaller than 5 GB) is suitable.

If you grant anonymous users the read permission for an object during the upload, anonymous users can access the object through a URL after the upload is complete. The object URL is in the format of https://bucket name.domain name/directory levels/object name. If the object resides in the root directory of a bucket, its URL does not contain a directory level.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback