Hi!
I want to limit the total size of all files uploaded by a user to 5 megabytes. How can I stop the JQFileUpload component from uploading a file, if I know that it would exceed the user's quota?
Example: The user has already uploaded 4.5 MB and then tries to upload a 1 MB file: abort. If the user has 4.5 MB uploaded and then uploads another 20 KB then do not abort.
I know how to get the current total size of all files uploaded, but I need to know how to abort an upload in one of the event handlers for this component.