All Products
Search
Document Center

Object Storage Service:Overview

Last Updated:Sep 11, 2023

This topic describes several methods that OSS SDK for Ruby provides for you to upload objects.

OSS SDK for Ruby provides the following methods that you can use to upload objects:

  • Local file upload: uploads an object up to 5 GB in size.

  • Streaming upload: uploads an object up to 5 GB in size.

  • Resumable upload: uploads an object up to 48.8 TB in size. An upload task based on this method is concurrent and resumable. You can define the size of each part in a resumable upload task. This method is suitable for uploading large objects.

  • Append upload: uploads an object up to 5 GB in size. You can call the AppendObject operation to append content to an existing object that is appendable.

After the upload is complete, you can receive upload callbacks. For more information, Upload callbacks.