J
Johnson
I understand that setting maxRequestLength in Web.config will allow me to
limit the size of file users upload to an ASP.NET Web site.
Questions:
1. What happens when the user attempts to upload a file that is larger than
the max that I specify via maxRequestLength? Is there some exception I can
handle and then have some nice way to tell the user what happened?
2. Even better - is there any reasonably easy way to determine the file size
*before* the file is uploaded (i.e., check the size to determine if the file
should even be sent)?
Thanks!
limit the size of file users upload to an ASP.NET Web site.
Questions:
1. What happens when the user attempts to upload a file that is larger than
the max that I specify via maxRequestLength? Is there some exception I can
handle and then have some nice way to tell the user what happened?
2. Even better - is there any reasonably easy way to determine the file size
*before* the file is uploaded (i.e., check the size to determine if the file
should even be sent)?
Thanks!