kothar / go-backblaze

A golang client for Backblaze's B2 storage
MIT License
95 stars 31 forks source link

Support for large file uploads #12

Open changlinli opened 7 years ago

changlinli commented 7 years ago

B2 Backblaze has support in its API for large files (its standard API breaks down after 5 GB and then you need to use a different API for files up to 10 TB). Would it be possible to get support in for large files?

FWIW this ends up affecting a client application I use.

I'll try to get a whack in at this at some point (and learn Go along the way), but I figured I'd flag this first.

Thanks for providing this awesome library!

kothar commented 7 years ago

Great! Thanks for the heads-up. Let me know how you get on, or if you need anything. I'd suggest adding a new type to represent the upload and collecting the new methods in a separate source file. There may be some parts from the existing file upload code you can factor out to reuse for the chunk uploads.

Good luck with Go :)

prologic commented 6 years ago

Anyone working on this?

kothar commented 6 years ago

@prologic - not that I know of at the moment.

changlinli commented 6 years ago

Yeah I never had the chance to get around to this :(