Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Chunked file uploading #87
Add chunked file uploading to get around CF Size limits and such.
I got this working just a while ago (at least from what I can see when testing +300MB file chunked into 4 files, 100MB max). The codes are still rather dirty tho. Many repeats here and there.
My current mechanism is using Dropzone 5.2.0. They added chunked uploads support there.
If they are chunked uploads, they will temporarily be stored at:
then once all uploads are successfully finished, it will then POST the UUID (and original filename, file size and mime type for db) to a new API route
Oh, about the UUIDs, I think they're probably generated by Dropzone. It's always unique even when using the exact same file so I guess that works.
I had to add
How do they all sound? I'll need a few days before I can do a PR though.
Missing (which I can't really be bothered to think about):