Windows (IIS) server based WebDAV server has “laughable” file size limit for download or uploads to/from the server. It turn out to be the restriction is on the client side (Windows). Microsoft says the reason for this restriction is,
Dec 11, 2007 maxRequestLength - Attribute limits the file upload size for ASP.NET application.The size specified is in kilobytes. The default is '4096' (4 MB). Max value is '1048576' (1 GB) for.NET Framework 1.0/1.1 and '2097151' (2 GB) for.NET Framework 2.0. Aug 21, 2006 Customer was using an ASP page which uses Response.BinaryWrite method to pull up the file from a COM+ component, it is not pulling the files which are greater than 32 MB in size. It is pulling the file of 31 MB. Not sure whether it is related to IIS or ASP or the Component written in C#. May 02, 2014 In the box under Value data, type a value that is larger than the size of the file that you want to download. Note The default value for the file size limit is 50000000 bytes.
This issue occurs because a security change that was introduced in
Windows XP SP2 affects the Web Distributed Authoring and Versioning
(WebDAV) redirector. This security change makes sure that an
unauthorized server cannot force a client computer into a denial of
service attack. If you try to download a file that is larger than
50000000 bytes, the client computer interprets this download as a denial
of service attack. Therefore, the download process stops.
Also it’s fixable. Too bad we have to fix this for every client machine that needs to use WebDAV with huge files. It is documented at http://support.microsoft.com/kb/900900.
The fix is also described in above KB article. You can also see fix below as per in the KB article.
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParameters
- In the right pane, right-click the FileSizeLimitInBytes value, and then click Modify.
If you cannot see the FileSizeLimitInBytes value, right-click the blank space in the right pane, click New, click DWORD Value, type FileSizeLimitInBytes, and then click OK. - In the Edit DWORD Value box, click to select the Decimal option. In the box under Value data, type a value that is larger than the size of the file that you want to download. Click OK.
Note The default value for the file size limit is 50000000 bytes. - Quit Registry Editor. Restart the computer.
Iis File Size Limit
Unfortunately I didn’t find any server side solution, since Windows clients are set to restriction.