asp.net mvc 2 - is it possible to check the filesize of a file before uploading it? -



asp.net mvc 2 - is it possible to check the filesize of a file before uploading it? -

i trying upload file webserver in asp.net mvc 2 webapplication. works when file size less 102mb.

this setting in web.config:

<configuration> <system.web> <httpruntime maxrequestlength="102400" /> </system.web>

can check before upload file filesize wont throw error when reaches on limit?

you may checkout following blog post. can check file size on client using of file upload plugins out there (uploadify, plupload, ...).

asp.net-mvc-2 c#-4.0

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -