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,
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:
- 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.
Unfortunately I didn’t find any server side solution, since Windows clients are set to restriction.
3 thoughts on “WebDAV: Increasing Maximum File Size Limit in Windows Server”
As the only option to sync pictures and movies from my girfriends iphone is by webdav I use this protocol in photosync, but it won’t do the larger movies now. So it looks like it is not ony the Windows client that is affected… Or there really is a server(Windows Server 2012 R2 essentials) side setting…!?
It looks like that an iphone(photosync app) is also suffering… Doesn not want to sync the larger movies taken with the iphone!
Or there really is a server side setting(Windows Server 2012 R2 Essentials)!?
I have found the solution as it really is a server side setting in IIS. I found the solution with help of a post on another site, where I added my solution.
It is hidden in the site request filtering options where a default maximum file size of 30mb is set.
I hope I am allowed to share the link to this website;