|All requests||>||Recommendation for a PHP class to upl...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Arrigo Capitanio - 5 months ago (2021-08-17)
I wish to upload large files in chunks, checking progress, stop and resume.
This package for form generating and submission processing comes with a plugin for file uploading. It may need to be updated depending on the PHP version that you may be using as it depends on a PHP extension. Anyway, it can display an upload progress bar.
Maybe one of our colleague PHP developers in the site can share a more complete solution that includes upload resuming support.
1. by Sriram - 5 months ago (2021-08-26) Reply
I have an idea that i have done 90% POC for above requirement. Upload to happen in async, 6 requests in parallel (as browsers queues up subsequent after 6), aiming to have es6 js front end that renders via php (currently poc in jquery) and php in server side processing. need to add this control of pause resume(TBD) (with a server side async call to record the status and keep the chunks numbers and alive for a pre determined period?) the approach am planning can handle very large files to upload without any timeouts) not fault tolerant (re-run if one upload chunk returns a non 200, TBD)
more than anything. need the time to do this :)