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 one of the following methods:
Upload a local file: supports the upload of an object up to 5 GB in size.
Upload from local memory: supports the upload of an object up to 5 GB in size.
Streaming upload: supports the upload of an object up to 5 GB in size.
Multipart upload: supports the upload of an object up to 48.8 GB in size. This method is suitable for uploading large files.
Append upload: supports the upload of an object up to 5 GB in size. You can use AppendObject to append content to appendable objects that have been uploaded.
Resumable upload: supports the upload of an object up to 48.8 GB in size. Resumable upload supports concurrent upload. You can define the size of each part. This method is suitable for uploading large objects.
Upload callbacks: sends a callback to the application server when an object is uploaded.