SkipFire
asked on
ASP.NET File Upload Size Limit?
I have a project that imports a few CSV files from the user, and then runs them into a database. The problem is there seems to be a size limit on the uploaded files and I cannot find how to remove or change that limit. I have a 1.5MB file that works fine, but the 6MB and 7MB files do not work. If I chop off the large files and get their sizes down they do work, of course then only part of the data is in the database.
Is there a real limit to the file size a browser can upload? If so what is that limit?
Is there a real limit to the file size a browser can upload? If so what is that limit?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Uploading 6MB and 7MB file if there are too many users might be a performance issue in future. SAFileUP control has an HTTP module for file upload that does not affect IIS performance while large files are being uploaded. Visit http://www.safileup.com/ for more information.
--Nauman.
--Nauman.
ASKER
Thanks, I only used maxRequestLength but it worked great.
u can change it application wise or server wise
application wise u nedd to chnage the web.config