[erlang-questions] Amazon S3 / streaming HTTP upload

Rapsey rapsey@REDACTED
Tue Jan 19 17:40:51 CET 2010

I would just write my own http client in your situation. All you need to do
is use gen_tcp to connect to the server, send an appropriate header and
upload the file by chunks. Easy as pie.


On Tue, Jan 19, 2010 at 3:55 PM, Anton Krasovsky

> I'm looking for a way to upload/download largish binary files
> (photos/videos) to Amazon S3.
> Thanks to streaming option in inets http client, downloading these
> files seems pretty straitforward.
> However uploading to S3 is more problematic because streaming is not
> supported for put/post requests
> and entire file has to be read into memory before I can post it.
> Would anyone know about http client/Amazon S3 library that would work
> without buffering of the entire file?
> Regards,
> Anton
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list