blueimp/jQuery-File-Upload — Issue #819: How do I evaluate an upload before it is sent?
Author: philmccarty
Created: 2011-11-27 22:16:17+00:00
State: open

I've configured the app, so that uploads are triggered programmatically when a button is clicked.

What I'd like to do, before that button click, is run a few other checks on the files that have been selected, before the user uploads them. I'm not quite sure about the most effective way to do that.

Essentially, I'd like to check the size of the files, and prevent the upload if the size is (too small) or throw an alert if the size is (too big). Is this possible?

Thanks so much Sebastian, (and anyone else who might have the answer)

-Phil