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

You can use OSS SDK for Node.js to upload objects by using the following method

  • Upload from local files: supports the upload of a file up to 5 GB in size.
  • Upload from cache: supports the upload of a file up to 5 GB in size.
  • Stream upload: supports the upload of a file up to 5 GB in size.
  • 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. You can use AppendObject to append content to append objects that have been uploaded.
  • Resumable 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 files. Resumable upload supports concurrent upload. You can define the size of each part.