简体   繁体   English

允许用户在 IIS (10GB+) 中下载非常大的文件

[英]Allowing users to download very large files in IIS (10GB+)

What solution are people using to enable users to download large files in application running on IIS?人们使用什么解决方案使用户能够在 IIS 上运行的应用程序中下载大文件?

For the web application, there is a cap on the maximum file request size and also the request timeout, this limit can be used to prevent denial of service attacks that are caused by users who post large files to the server.对于 web 应用程序,最大文件请求大小和请求超时有一个上限,此限制可用于防止用户向服务器发布大文件引起的拒绝服务攻击。

As far as I know, the maximum length of content in a request can be specified via the maxAllowedContentLength , but maxAllowedContentLength has type uint, its maximum value is 4,294,967,295 bytes = 4 gb, this does not meet your requirements.据我所知,请求中内容的最大长度可以通过maxAllowedContentLength指定,但maxAllowedContentLength的类型为 uint,其最大值为 4,294,967,295 字节 = 4 gb,这不符合您的要求。 or you can consider splitting this large file into several parts.或者您可以考虑将这个大文件分成几个部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM