All Products
Search
Document Center

Object Storage Service:Upload files (Browser.js SDK)

Last Updated:Jun 10, 2026

The OSS Browser.js SDK supports multiple methods to upload objects. Select the method that best fits your scenario.

Method

Description

Simple upload (Browser.js SDK)

  • Uploads File objects, BLOB data, or OSS Buffer to OSS.

  • Ideal for fast uploads of small files.

Append upload (Browser.js SDK)

  • Appends content to the end of an existing appendable object.

Multipart upload (Browser.js SDK)

  • Uploads large files between 100 MB and 48.8 TB.

  • Splits the file into parts uploaded independently. After all parts finish, call CompleteMultipartUpload to combine them into one object.

Resumable upload (Browser.js SDK)

  • Provides stable uploads of large files.

  • Records breakpoints during upload. If a network error or crash interrupts the transfer, resume from the last successful breakpoint.

Upload callback (Browser.js SDK)

  • Sends a callback request to your application server after a successful upload.

  • Use this to trigger post-upload actions such as logging or downstream processing.