This topic describes the file upload methods available in the Object Storage Service (OSS) Ruby SDK.
The OSS Ruby SDK provides the following file upload methods:
Upload a local file (Ruby SDK): The maximum file size is 5 GB.
Streaming upload (Ruby SDK): The maximum file size is 5 GB.
Resumable upload (Ruby SDK): This method supports concurrent uploads, resumable uploads, and custom shard sizes. This method is recommended for large files. The maximum file size is 48.8 TB.
Append upload (Ruby SDK): This method uses the AppendObject method to append content to an existing appendable object. The maximum file size is 5 GB.
After an upload is complete, you can also configure an upload callback (Ruby SDK).