uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
374 stars 100 forks source link

Overhauled upload #66

Closed wvmarle closed 11 years ago

wvmarle commented 11 years ago

Well... overhauling... just cut about half the code and left the rest in place, with minor changes. I understand what it did, I don't understand why it did it that way with all that extra buffering, only caused memory use problems.

It expects to receive one block of data at a time (this is responsibility of GlacierWrapper) and will baulk and throw an exception if it gets more than it can chew.

uskudnik commented 11 years ago

Can I merge this already?

wvmarle commented 11 years ago

Yes - tested with a 14 MB file which was uploaded smoothly.

uskudnik commented 11 years ago

Awesome :)