I have found a really big issue with Webdav on windows server 2008 r2: file size.
A partially solution is this:
One small problem you could stumble upon, is when trying to move/copy large files. There are two possible problems there:
- Client Side: Windows may tell you that you cannot do that because of the file size. The "webdav redirector" on windows (client side, not server side) has a limit. It exists in the registry, in the key HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileSizeLimitInBytes. The default is 50 MB. Change it to the maximum allowed and restart.
- Server Side (thanks to Stefan's comment below): IIS7 has a default transfer limit of around 30 MB, which very much affects webdav. Execute the following command line to change the size:
%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:xxx
where xxx is the number of bytes allowed.
Why partial? Beacause both the values have 4294967295 as a size limit. Is there a way to put bigger file on webdav ? I hope so or it's really useless for me...
Thanks in advance!