Ruby AWS::S3::S3Object (aws-sdk): Is there a method for streaming data as there is with aws-s3?


In aws-s3, there is a method ( that lets you stream a file on S3 to a local file. I have not been able to locate a similar method in aws-sdk.

i.e. in aws-s3, I do:

The method does take a block as a parameter, but doesn’t seem to do anything with it.


The aws-sdk gem now supports chunked reads of objects in S3. The following example gives a demonstation:

Leave a Reply