WebDAV:Windows 7 的默认文件大小限制是多少?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1869561/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 13:33:23  来源:igfitidea点击:

WebDAV: What is the default file size limit for Windows 7?

windowswebdav

提问by kgriffs

We have an application at work that mounts a virtual drive using WebDAV. In the past we had to manually set the following values to work around the defaults used by previous versions of the Windows WebDAV client as discussed in KB 900900.

我们有一个使用 WebDAV 安装虚拟驱动器的应用程序。过去,我们必须手动设置以下值来解决以前版本的 Windows WebDAV 客户端使用的默认值,如KB 900900 中所述

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileSizeLimitInBytes
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileAttributesLimitInBytes
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileSizeLimitInBytes
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileAttributesLimitInBytes

Does anyone know for sure whether the defaults are any higher in Windows 7? Is this workaround still needed?

有谁知道 Windows 7 中的默认值是否更高?还需要这种解决方法吗?

回答by Gralo

This issue is still true under Windows 7 Service pack 1and will also impact services such as online storage mounted as a windows drive.

此问题仍然存在,Windows 7 Service pack 1并且还会影响安装为 Windows 驱动器的在线存储等服务。

As stated in the support article KB900900,

如支持文章KB900900 所述

"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."

"出现此问题是因为 Windows XP SP2 中引入的安全更改影响了 Web 分布式创作和版本控制 (WebDAV) 重定向器。此安全更改可确保未经授权的服务器无法强制客户端计算机进行拒绝服务攻击。如果您尝试下载大于 50000000 字节的文件,客户端计算机将此下载解释为拒绝服务攻击。因此,下载过程停止。

Should you wish to workaround the limitation (re: increasing the limit via regedit as stated in the question), detailed instructions are available at the support article.

如果您希望解决限制(重新:通过问题中所述的 regedit 增加限制),支持文章中提供了详细说明。

回答by HolgerJeromin

The defaults are still 50 MByte on my Windows 10.

在我的 Windows 10 上,默认值仍然是 50 MB。