All Products
Search
Document Center

Object Storage Service:Upload objects

Last Updated:Dec 02, 2024

Objects are the basic unit for data operations in OSS. OSS SDK for PHP 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.

  • 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" section in OSS Developer Guide. After the upload is complete, you can receive callbacks. For more information, see Upload callbacks.