Avatar of wdosanjos
Flag for United States of America asked on

Large file uploads on ASP.NET

I have a project tech lead asking for input around ways to handle large file uploads in an ASP.NET project.  Standard upload controls have a 2GB limitation and perform most of the server side operation in-memory, which means that concurrent uploads would consume huge amounts of server memory.  Does anyone have any experience with any third party control sets that allow for larger file sizes and server-side streaming to disk to minimize memory requirements/consumption?

I found an open source control called NeatUpload that seems to workaround those issues (link below).  Does anybody has any experience with it?


C#.NET ProgrammingASP.NET

Avatar of undefined
Last Comment

8/22/2022 - Mon
Kamal Khaleefa

i think the defualt size for upload file is set to 4 MB

but u can change it from web .config
in <system.web>

      <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="15360" requestLengthDiskThreshold="15360" executionTimeout="400"/>
where 15360=16 MB


Thanks for your reply, but I'm really looking to upload LARGE files (up to 2 GB).
Roopesh Reddy

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks.  Exactly what I was looking for.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes