refile / refile-s3

Amazon S3 Backend for Refile
MIT License
36 stars 88 forks source link

Multipart copy #13

Open xtian opened 9 years ago

xtian commented 9 years ago

For files > 5GB in size, the S3 API requires using a multipart copy. I recently had to work around this by monkeypatching Refile, but I'd love to have official support for it.

Happy to work on it as well if you have an idea of how it should be implemented.

I ended up overwriting #upload to pass content_length and use_multipart_copy to #copy_from, but that just enables multipart for every copy. Not sure if that is desirable for Refile in general.