Objects are the basic unit for data operations in OSS. The OSS Node.js SDK provides the following methods to upload objects:

  • Local file upload: supports the upload of a file up to 5 GB in size.
  • Upload from local memory: supports the upload of a file up to 5 GB in size.
  • Streaming upload: supports any file sizes.
  • 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.
  • Resumable upload: supports the upload of a file up to 48.8 TB in size. This method is suitable for 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.