[erlang-questions] Amazon S3 / streaming HTTP upload

Garrett Smith <>
Tue Jan 19 17:51:12 CET 2010


This looks like something you might be able to use out of the box...

http://code.google.com/p/erls3/

Additionally, this is an actively maintained project that can provide
psuedo code (Python :) for just about any AWS operation you might
need:

http://code.google.com/p/boto/

On Tue, Jan 19, 2010 at 10:40 AM, Rapsey <> wrote:
> 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.
>
>
> Sergej
>
>
> On Tue, Jan 19, 2010 at 3:55 PM, Anton Krasovsky
> <>wrote:
>
>> 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