bestprotop / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

Does this plugin do client side validations for file Size? #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using this plugin for multi-file uploads and using Spring's Multipart file 
upload in the backend, everything just works perfect, only for one reason. I 
have configured the max file size in my application-context.
If the User selects any file or files (total size exceeding the limit size)
it fails and do not recover. Like the way it nicely handling file number limit, 
is there any way to handle file size validations at client side?

What steps will reproduce the problem?
1. Configure the file size limit in the spring application context.
2. Try to upload a file or set of files (combined size must be greater than the 
allowed size limit)
3. It fails while uploading.

What is the expected output? What do you see instead?
Should allow some validation mechanism at client side itself if the selected 
file(s) are of allowed limit size.

What version of the plugin/jQuery are you using?
PLUGIN VERSION: v1.47 
JQUERY VERSION: v1.7.0

On what browser(s) or operating system?
BROWSER(S): Mozilla Firefox 9.0.1

Please provide a link to where the problem can be observed:
URL:

Feel free to provide any additional information below.

Original issue reported on code.google.com by nakulb...@gmail.com on 7 Feb 2012 at 2:40

GoogleCodeExporter commented 9 years ago
This is not a javascript issue and not something this plugin (or jQuery) can 
control. Check your server configuration.

For IIS, see:
http://www.webtrenches.com/post.cfm/iis7-file-upload-size-limits

For Apache, try:
http://www.cyberciti.biz/faq/apache-limiting-upload-size/

Original comment by diego.a...@gmail.com on 7 Feb 2012 at 3:05