[s3-dev] I can't S3Ojbect.store large files either.

q.h.r.h. quinton.harris at gmail.com
Mon Jan 19 15:39:45 EST 2009


If you're on windows, make sure you're opening your files in binary mode.

open( path, "b" )

If you'd like to test aws-s3 vs S3 for the source of the error, try
downloading s3cmd and testing your uploads with that.

Not expert info, but I hope this helps.

Quinton Harris

On Mon, Jan 19, 2009 at 11:43 AM, Robin Lee Powell <
rlpowell at digitalkingdom.org> wrote:

> On Mon, Jan 19, 2009 at 11:39:42AM -0800, Robin Lee Powell wrote:
> >
> > I'm having exactly the same problem as
> > http://rubyforge.org/pipermail/amazon-s3-dev/2008-September/000157.html
> >
> > I see there wasn't any answer to that post; I really need this
> > functionality.  Can anyone help?
>
> This is also mentioned at
> http://rubyforge.org/pipermail/amazon-s3-dev/2008-April/000114.html
>
> There's a response there, but the responder doesn't say how he's
> doing the upload, so not helpful.  I'm using:
>
>    AWS::S3::S3Object.store( key, open(path), bucket )
>
> I am getting a Broken Pipe after a long wait, same as the first post
> I linked to.
>
> -Robin
>
> --
> They say:  "The first AIs will be built by the military as weapons."
> And I'm thinking:  "Does it even occur to you to try for something
> other than the default outcome?" -- http://shorl.com/tydruhedufogre
> http://www.digitalkingdom.org/~rlpowell/<http://www.digitalkingdom.org/%7Erlpowell/>***
> http://www.lojban.org/
> _______________________________________________
> amazon-s3-dev mailing list
> amazon-s3-dev at rubyforge.org
> http://rubyforge.org/mailman/listinfo/amazon-s3-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/amazon-s3-dev/attachments/20090119/012f0c95/attachment.html>


More information about the amazon-s3-dev mailing list