Objects are the basic unit for data operations in Object Storage Service (OSS). OSS SDK for Go provides the following methods to upload objects:
- Simple upload: supports the upload of an object that is up to 5 GB in size.
- Append upload: supports the upload of an object that is up to 5 GB in size.
- Resumable upload: supports the upload of an object that is up to 48.8 TB in size. This method is suitable for the upload of large objects. Concurrent upload is supported. You can define the size of each part.
- Multipart upload: supports the upload of an object that is up to 48.8 TB in size. This method is suitable for the upload of large objects.
Note For more information about the scenarios of each upload method, see the Upload objects topic.
During the upload, you can configure object metadata and view the upload progress. For more information, see Manage object metadata and Progress bar.