Vanthiya Thevan

Vanthiya Thevan

  • 1.9k
  • 26
  • 906

Upload Large Files In Web API With A Simple Method

Jul 21 2019 11:26 PM
Hi Sarathlal,
I followed your multipart code for uploading larger files. Its working for me in localhost, but in IIS, i could not upload more than 29 MB file.
I googled and followed all the suggesstions such as:
increased maxAllowedContentLength in RequestFiltering
Added the below line in web.config
<serverRuntime uploadReadAheadSize="10485760" maxRequestEntityAllowed="52428800" />
But still, I could not upload file which is greater than 30 MB.
Kindly suggest anything...

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (5)