0

I am trying to upload large files using ASP.NET Web API controller

  1. I am able to upload until 2 GB.
  2. But for more than 2 GB I am unable to upload.
  3. Is this a limitation of the Web API controller and ASP.NET?
  4. Should I make any configuration changes?
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
user1400915
  • 1,933
  • 6
  • 29
  • 55

1 Answers1

0

It looks like it has been voted for and completed as of .NET 4.5, see Maximum upload size in ASP.NET is 2 GB. Increase it. However, it needs to be resolved in IIS 8.0, see Please, share how to upload files larger then 2 GB (without splitting) on IIS 8.0 using ASP.NET 4.5?.

Otherwise, you might have to look at third-party (paid, open source) solutions for a more elegant approach of uploading the large files in chunks (with a progress bar indicator, etc.).

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Luke Hutton
  • 10,612
  • 6
  • 33
  • 58