![]() |
HTML 5 chunked file upload - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: HTML 5 chunked file upload (/showthread.php?tid=65547) |
HTML 5 chunked file upload - Paradinight - 06-24-2016 In HTML5 (File API) you can upload the file in small parts. The small parts are put together on the server. It would be a nice thing if ci support this. RE: HTML 5 chunked file upload - kilishan - 06-24-2016 (06-24-2016, 10:28 PM)Paradinight Wrote: In HTML5 (File API) you can upload the file in small parts. The small parts are put together on the server. I'll have to look into the specifics of that, since I'm not overly familiar with it, but I would think that Apache/NGINX would handle that and provide it to PHP in the standard $_FILES array. Can you point to any details about this? RE: HTML 5 chunked file upload - marksman - 06-24-2016 have you try this one? https://github.com/blueimp/jQuery-File-Upload they have support for framework like codeigniter.. RE: HTML 5 chunked file upload - Paradinight - 06-25-2016 Hello kilishan, Plupload (wordpress use plupload) - https://github.com/moxiecode/plupload-handler-php/blob/master/PluploadHandler.php Resumable.js - https://github.com/23/resumable.js/blob/master/samples/Backend%20on%20PHP.md blueimp/jQuery-File-Upload https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php The file api read the file in small parts and send it to the server per javascript. the advantages are: - upload big files - if one part can not be uploaded, you do not need upload the entire file. - upload_max_filesize and post_max_size a not affected It is a stupid feature requests from me and the priority is very low. edit: @marksman it is ci 4 feature requests not a help request. RE: HTML 5 chunked file upload - marksman - 06-25-2016 @Paradinight, I use blueimp in CI 3 before and it works great.. I just add it as a third_party and in the library.. I didn't try it to CI 4 but i know its still possible.. for me I dont want too many libraries in the framework to keep it lightweight.. flexibility in framework is more important than storing too many unneccessary builtin libraries.. thats why im not using laravel. We can use laravel's component in CI plus it is lightweight.. best for every developer RE: HTML 5 chunked file upload - derekt - 10-29-2019 (06-24-2016, 10:48 PM)kilishan Wrote:Just adding in another example of one JavaScript library's server requirements to support chunked uploads:(06-24-2016, 10:28 PM)Paradinight Wrote: In HTML5 (File API) you can upload the file in small parts. The small parts are put together on the server. https://pqina.nl/filepond/docs/patterns/api/server/ They have a PHP starter kit here for reference: https://github.com/pqina/filepond-boilerplate-php RE: HTML 5 chunked file upload - MGatner - 11-01-2019 My two cents... most of these are all front-end solutions for chunking that has the backend server handling the stitching. The original post made it sound like HTML5 has some native support for this, and if that’s true I would definitely be in favor of including support for that in the framework. I’m not into adding a frontend library to handle it - that could be done in a module. Incidentally I have a files module for CodeIgniter 4 that uses Dropzone and does chunking, if anyone is interested: https://GitHub.com/tattersoftware/codeigniter4-files |