IIS 7 and Above
Large files upload
Last post Jul 20, 2019 02:36 AM by Rovastar
Jul 19, 2019 02:17 PM|bsatish|LINK
Is there a way to upload file greater than 4 GB through my application hosted on IIS ? I am unable to increase the value greater than 4294967295 in the Request Filtering. Giving 0 and uploading more than 4 GB file throwing HTTP Error 413.
Thanks in Advance,
Jul 19, 2019 03:12 PM|Chris Becke|LINK
Jul 19, 2019 03:22 PM|bsatish|LINK
Thanks Chris. Actually it is a Content Management product, thus we do not have any feasibility to customize the upload process. Customer has huge files to upload like around 10 GB to 20 GB ? We did a POC with 10 GB in Tomcat and we could upload successfully.
Is this a hard limit in IIS ? I am little bit confused by reading a statement in docs.microsoft.com, under Maximum allowed Content length, it is said "Specify zero (0) for this value means that the length is unlimited". Do the "Un limited"
represents 4 GB ? or no limit ?https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831518(v=ws.11)#Headers
Jul 19, 2019 05:22 PM|Chris Becke|LINK
You'd think a CM product would know better. Perhaps someone else has ideas. My experience is "don't try this" and i'm sure youve already seen all the google results asking if IIS8 9 or 10 can do >4GB without any replies, so I'm not hopeful.
Jul 20, 2019 02:36 AM|Rovastar|LINK
I don't think it is possible but I would look at the
uploadReadAheadSize under <serverRuntime> .
I think it will maxout at 4GB (I can only find numbers for this setting in old IIS6 where that was the max) but I would check there too.
As you know these are huge files and probably can't be done.