Alter file limit size accepted by IIS
Dump request filtering settings for the “Default Web Site” by running
%windir%\system32\inetsrv\appcmd.exe list config “Default Web Site” -section:system.webServer/security/requestFiltering /config:*
(adjust the name of the site to fit your environment). Check the maxAllowedContentLength value.
To change the value to let’s say 50,000,000 you could run
%windir%\system32\inetsrv\appcmd.exe set config “Default Web Site” -section:system.webServer/security/requestFiltering /requestLimits.maxAllowedContentLength:”50000000″ /commit:apphost
Also on the client machine you’ll need to do this as the default size limit is 50Mb
Customize the following registry entry to resolve this issue:
- Click Start, type regedit in the Start Search box, and then press ENTER.
- Open the registry editor (using regedit on the Windows Start menu)
- Locate and click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters - Select DWORD FileSizeLimitInBytes.
- Go to Edit > Modify.
- In the Value data box, enter 4294967295 and then click OK.
This sets the maximum you can download from the WebDAV to 4 GB at one time, where 4 GB is the maximum value supported by Windows OS. - Exit Registry Editor and restart the Web Client Service.