Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

File Upload controller method using MultipartFormDataStreamProvider size limit

$
0
0

Hi All,

I'm attempting to create a WebAPI2 Controller method that allows clients to upload files to the server. Based on multiple tutorials, I have successfully written the method using MultipartFormDataStreamProvider.

The issue I am having is that this fails with a HTTP 400.0 error message "ASP.NET detected invalid characters in the URL." if the file's size exceeds 2GB.

How can I allow the upload of files up to 3/4 GB?

Thanks!


Viewing all articles
Browse latest Browse all 4850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>