There is an obvious size setting for maximum allowed size for an uploaded file... why no minimum size setting? Seems like for any file upload you might want a minimum allowable size... In my particular case my client doesn't want any file uploaded smaller than 3mb because generally it doesn't print well. If I do server side validation I have to jump through hoops to catch it and stop the queue... Suggestions?
March 12, 2010 - 12:20pm
You can handle this manually by checking the size in the fileQueued event and cancelling it necessary.
You can also check in the startUpload event (whose sole purpose is to allow pre-upload validation). In that case you return false from the event handler and handle the cancellation in the uploadError event.