known icon indicating copy to clipboard operation
known copied to clipboard

Feature request: Chunked uploads

Open gorillamoe opened this issue 8 years ago • 5 comments

I would like to have chunked uploads available like here.

The client reads the file and splits the file in pre-defined chunks. Then it should send it to the server and the server should put the file together part by part. This way, we can work around having to set the max post size to such a ridiculous size and still upload an infinite amount of data. We can also have sexy progress bars with this. You can even drop the connection with this kind of upload and try to resume the upload X times.

The only really bummer to this is, that either all plugins that rely on the legacy upload would seize working or we have to add something like uploadv2, so we keep the legacy upload and we can start on migrating all the great plugins to use the new way of uploading.

Can someone verify that if I would start working on this, it might get merged into Core?

gorillamoe avatar Jul 05 '17 08:07 gorillamoe

Refs #2759

mapkyca avatar May 13 '20 09:05 mapkyca

Any chunked upload (which would probably useful) should follow standards - I think php session uploads, or compatibility with jquery uploads

mapkyca avatar May 13 '20 09:05 mapkyca

I don't recognize either of these as standards, but this is mentioned in #2759 "Multiple chunks (client side)"

Most non standard HTTP options do require a fallback or error URL, but the other option is to present a URL text input field by default and only change if JS is enabled and has features including either fetch or XHR

Lewiscowles1986 avatar May 14 '20 13:05 Lewiscowles1986

Mainly thinking of the Content-Range approach ala jquery uploader

mapkyca avatar May 14 '20 17:05 mapkyca

Content-Range isn't even used when appending the file on the server by the jQuery plugin. They are sending it and they are reading it as some kind of Boolean.

gorillamoe avatar Jun 18 '20 21:06 gorillamoe