Hala Aly
Hala Aly

Reputation: 141

Upload files up to 4 gig

How can I upload files up to 4 giga bytes in iis7.5 and mvc3 Note: I already maxAllowedContentLength

<system.webServer>
    <security>
       <requestFiltering>
          <requestLimits maxAllowedContentLength="4294967295" />
        </requestFiltering>
    </security>
</system.webServer>
<httpRuntime maxRequestLength="4194304" />

but I still can not upload file with size 3.71 giga file

Is there is something I forget to do?????

Upvotes: 0

Views: 291

Answers (1)

Tys
Tys

Reputation: 3610

ASP.NET (even the .NET 4 version) has a 2 GB limit!

Also when uploading such large files, you'd better think of using some (3rd party) tool that makes your uploading more stable. This makes your user a lot happier as well.

I have read that .NET 4.5 should support larger files. But still then i'd provide my users with a plugin like this: http://neatupload.codeplex.com

Upvotes: 2

Related Questions