We help IT Professionals succeed at work.
Get Started

Uploading Large files in Asp.net

yadavdep
yadavdep asked
on
270 Views
Last Modified: 2015-04-03
I need to allow uploading large files from users to my asp.net web application.
The way it works is User select one file on the web page and I am calling a Generic handler from Jquery Ajax method to upload this file
Also , I added these in the main web.config file
 <httpRuntime maxRequestLength="512000" executionTimeout="28000" />
<requestLimits maxAllowedContentLength="524288000" />

Things are working fine but, I need find a way so that this increase length of content and request should only apply to my upload related files and folder.

I have one Articles.aspx which has the upload control, a UploadFile.ashx and a folder "Uploads" where the files get stored from clients.

Is there any way by which I can achieve this?
Comment
Watch Question
IT Manager
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE