johnnyhalife / waz-storage

A simple implementation of Windows Azure Storage API for Ruby, inspired by the S3 gems and self experience of dealing with queues. The major goal of the whole gem is to enable ruby developers [like me =)] to leverage Windows Azure Storage features and have another option for cloud storage.
http://waz-storage.heroku.com
MIT License
40 stars 21 forks source link

Max file size is limited to 64mb #39

Closed 0-1-0 closed 10 years ago

0-1-0 commented 10 years ago

Hi, I am using waz-storage + paperclip and faced the following problem: Azure drops connections after 64mb data transferred. I need to upload files up to 200mb, and as I read at Azure documentation it is only possible by chunking data and performing several requests. I am not sure, if waz-storage has such option. It will be great, you you can advise how to overcome this issue, or what modules can be modified, so I can send a pull request for this feature.

johnnyhalife commented 10 years ago

You should create a block blob and use put_block and such. Checkout the code.