This document describes the file upload methods provided by the OSS iOS SDK.

Objects are the basic data units for user operations in OSS. The OSS iOS SDK provides the following object 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. It applies to 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. It applies to the upload of large files. 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 files" section in OSS Developer Guide.

After you complete the file upload, you can perform upload callback, as shown in Upload callback.