Closed GoogleCodeExporter closed 8 years ago
This is not something that can be done by Javascript.
It has to be done server-side.
Original comment by diego.a...@gmail.com
on 4 Apr 2013 at 9:48
bt I have to check file at client side, If user upload the file which has size
greater then the size mentioned in web.config, Niether client side nor sever
side will fire.
So i have to check the file size while uploading
Please do the needful
Original comment by savehum...@gmail.com
on 5 Apr 2013 at 4:22
Have you Google'd it?
https://www.google.co.uk/search?q=how+to+check+file+size+before+uploading
Here's one way you can do this:
http://jquerybyexample.blogspot.com/2012/03/how-to-check-file-size-before-upload
ing.html
** SERVER-SIDE VALIDATION IS ALWAYS REQUIRED ***
Please do your own research to create the server-side code you require in the
language of your choice.
Original comment by diego.a...@gmail.com
on 5 Apr 2013 at 10:56
I strongly recommended that you use one of these solutions instead:
- Uploadify
- SWFUpload
Original comment by diego.a...@gmail.com
on 5 Apr 2013 at 10:57
Original issue reported on code.google.com by
savehum...@gmail.com
on 4 Apr 2013 at 3:10