All Products
Search
Document Center

Object Storage Service:Upload objects

Last Updated:Dec 10, 2024

This topic describes a variety of methods that Object Storage Service (OSS) SDK for Ruby provides to upload objects.

OSS SDK for Ruby provides the following methods to upload objects:

  • Local file upload: The size of the file to upload cannot exceed 5 GB.

  • Stream upload: The size of the file to upload cannot exceed 5 GB.

  • Resumable upload: Concurrent upload and resumable upload are supported. You can specify the size of each part. This method is suitable for uploading large objects up to 48.8 TB in size.

  • Append upload: You can call the AppendObject operation to append content to appendable objects that have been uploaded. The size of the file to append cannot exceed 5 GB.

After the object is uploaded, you can Upload callbacks.