All Products
Search
Document Center

Object Storage Service:Overview of file uploads (C++ SDK)

Last Updated:Nov 29, 2025

Objects are the basic unit for data operations in Object Storage Service (OSS). OSS SDK for C++ provides the following methods to upload objects:

  • Simple upload: supports the upload of an object that is up to 5 GB in size. It supports upload from memory and local storage.

  • Append upload (C++ SDK): The maximum file size is 5 GB.

  • Resumable upload (C++ SDK): Supports concurrent uploads, resumable uploads, and custom shard sizes. This method is recommended for large files. The maximum file size is 48.8 TB.

  • Multipart upload (C++ SDK): Used to upload large files. The maximum file size is 48.8 TB.

During an upload, you can set file metadata and view the upload progress using a progress bar chart. After the upload is complete, you can also use upload callbacks (C++ SDK).