PHP Classes

Recommendation for a PHP class to upload large files in chunks: Upload large files in chunks checking progress

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to upl...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to upload large files in chunks

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of Arrigo Capitanio by Arrigo Capitanio - 3 years ago (2021-08-17)

Upload large files in chunks checking progress

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I wish to upload large files in chunks, checking progress, stop and resume.

Ask clarification

2 Recommendations

PHP Big File Upload Update and Verify: Process file uploads and verify large files

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Dantigny francois by Dantigny francois package author package author Reputation 25 - 1 year ago (2023-03-02) Comment

Hi ! I've tried to solve my problem with BFUV ( https://www.phpclasses.org/package/12463-PHP-Process-file-uploads-and-verify-large-files.html ). No "stop and resume" : sorry !


PHP Forms Class with HTML Generator and JavaScript Validation: HTML forms generation and validation.

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 23985 - 3 years ago (2021-08-18) Comment

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.

As for resuming file uploads, it depends on JavaScript code that runs on the browser side.

Maybe one of our colleague PHP developers in the site can share a more complete solution that includes upload resuming support.

  • 1 Comment
  • 1. Picture of Sriram by Sriram - 3 years 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 :)


Recommend package
: 
: