The Object Storage Service (OSS) Ruby SDK supports multiple upload methods for different scenarios and file sizes.
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): Supports concurrent uploads, resumable data transfer, and custom shard sizes. Recommended for large files. The maximum file size is 48.8 TB.
-
Append upload (Ruby SDK): Appends content to an existing appendable object by using the AppendObject operation. The maximum file size is 5 GB.
After an upload is complete, you can also configure an upload callback (Ruby SDK).