All Products
Search
Document Center

Object Storage Service:Upload objects by using OSS SDK for Node.js

Last Updated:Dec 04, 2024

In Object Storage Service (OSS), objects are the fundamental units of data for operations. OSS SDK for Node.js provides a variety of methods to upload objects.

  • Upload a local file: The size of the file to upload cannot exceed 5 GB.

  • Upload from the local memory:The size of the content to upload cannot exceed 5 GB.

  • Streaming upload: The size of the data to upload cannot exceed 5 GB.

  • Multipart upload: You can use the multipart upload feature to upload large files up to 48.8 TB in size.

  • Append upload: You can call the AppendObject operation to append content to an appendable object that have been uploaded. The size of the file to append cannot exceed 5 GB.

  • Resumable upload: Concurrent upload and resumable upload are supported. You can specify the size of each part. This method is suitable for uploading large objects up to 48.8 TB in size.

  • Upload callbacks: A callback is sent to the application server when an object is uploaded.