Giter VIP home page Giter VIP logo

Comments (4)

dirkluijk avatar dirkluijk commented on August 23, 2024

Partially solved. I found that the chunk size I was using (10 MB) was too large. I tried using a chunk size of 5 MB and now the chunks are recognized.

But now the MaxSizeValidationListener throws an exception, it says the file size is too big. I have set the max_size option in my config to 1000000000 (1 GB), but I seems that this value is automatically limited to PHP's upload_max_filesize and post_max_size (which are 10 MB and the total file size is 12 MB).

My question is: why is the uploaded file compared to these settings when it was chunked? Wasn't chunked uploading supposed to bypass these restrictions?

E.g. when I have a file of 12 MB, and my upload_max_filesize and post_max_size is limited to 8 MB, and I use chunks of 5 MB, the validation should pass.

from oneupuploaderbundle.

sheeep avatar sheeep commented on August 23, 2024

when I have a file of 12 MB, and my upload_max_filesize and post_max_size is limited to 8 MB, and I use chunks of 5 MB, the validation should pass

This is correct. I'll fix this asap.

from oneupuploaderbundle.

sheeep avatar sheeep commented on August 23, 2024

@dirkluijk Can you verify that this problem is solved in c442135?

from oneupuploaderbundle.

dirkluijk avatar dirkluijk commented on August 23, 2024

Hi, just tested it, works like a charm! It now validates the total file size with the actual setting (in my case 1 GB), while my PHP settings are restricted to 10 MB.

Thanks, great work!

from oneupuploaderbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.