使用 uploadify 可以上传到服务器的最大文件大小是多少?

发布于 2024-10-06 19:29:19 字数 109 浏览 0 评论 0原文

我使用 .NET 4.0 开发了 MVC2 ASP.NET 应用程序,我可以使用 uploadify 上传的最大文件数?我的要求是上传最大 20 GB 的文件,这可能吗?

阿卜杜勒·哈利克

I had developed MVC2 ASP.NET application using .NET 4.0 and the maximum file that i can uploaded using uploadify? My requirements is to upload utmost 20 gb of file maximum is that possible?

Abdul Khaliq

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暗恋未遂 2024-10-13 19:29:19

我不确定 uploadify,但 http 上传(至少在 IIS 上)每个文件的大小限制为 5 MB。我们发现上传大于 5 MB 的文件(在 Windows Server 2008 上托管的 MVC 2 应用程序中)将导致没有文件数据发布到服务器。

我假设因为 uploadify 只是一个 jquery 库,所以 5 MB 的固有限制适用。

根据 microsoft,您可以增加此限制 (IIS7)。但是,您应该小心,因为这意味着您的服务器将接受非常大的请求,这可能会增加您遭受 ddos​​ 攻击的脆弱性。

一些文档说 IIS 7 的限制是 30MB,但我确信我们遇到了 5 MB 的图像文件上传限制,这不是我们自行设置的。

如果您需要将那么大的文件推送到服务器,您可能需要考虑使用 FTP。

I'm unsure about uploadify, but http uploads (at least on IIS) have a limit of 5 MB per file. We discovered that uploading files larger than 5 MB (in an MVC 2 app hosted on windows server 2008) will result in no file data being posted to the server.

I would assume that because uploadify is just a jquery library, that the 5 MB inherent limit applies.

According to microsoft, you can increase this limit (IIS7). But, you should be careful because it means that your server will be accepting very large requests, which can increase your vulnerability to ddos attacks.

Some documentation says the IIS 7 limit is 30MB, but I am positive we were encountering a 5 MB limit for image file uploads that was not self-imposed.

If you need to push that large of a file up to the server, you may want to look at using FTP instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文