Menu
Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)

Using the AWS SDK for Ruby for Multipart Upload

The AWS SDK for Ruby version 2 supports Amazon S3 multipart uploads in two ways. For the first option, you can use a managed file upload helper. This is the recommended method for uploading files to a bucket and it provides the following benefits:

  • Manages multipart uploads for objects larger than 15MB.

  • Correctly opens files in binary mode to avoid encoding issues.

  • Uses multiple threads for uploading parts of large objects in parallel.

For more information, see Uploading Files to Amazon S3 in the AWS Developer Blog.

Alternatively, you can use the following multipart upload client operations directly:

For more information, see Using the AWS SDK for Ruby - Version 2.