This topic describes how to use Object Storage Service (OSS) SDK for iOS to upload files.

Objects are the basic units for data operations in OSS. OSS SDK for iOS provides the following upload methods:

  • Simple upload: supports the upload of a file up to 5 GB in size. It includes local file upload and upload from the memory.
  • Multipart upload: supports the upload of a file up to 48.8 TB in size. This method is suitable for the upload of large files.
  • Append upload: supports the upload of a file up to 5 GB in size.
  • Resumable upload: supports the upload of a file up to 48.8 TB in size. This method is suitable for the upload of large objects. It supports concurrent upload, and you can define the size of each part.
Note For more information about the scenarios of each upload method, see the "Upload objects" topic in OSS Developer Guide.

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