This topic is the overview of object upload in OSS Java SDK.

In OSS, an object is the basic unit for data operations. OSS Java SDK provides the following file upload methods:

  • Simple upload: supports the upload of a file up to 5 GB in size. It includes streaming upload and file upload.
  • Form upload: supports the upload of a file up to 5 GB in size.
  • 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.
  • Multipart upload: supports the upload of a file up to 48.8 TB in size. It applies to the upload of large files.
Note For more information about the usage scenarios of each upload method, see “Upload files” in OSS Developer Guide.

During the file upload, you can set Object Meta, and view the upload progress in the upload progress bar. After you complete the file upload, you can perform upload callback.