Original: upload more than 30M files using swfupload, upload components using flash
A period of time members of the upload components to use flash swfupload to upload, can be very friendly to display the upload progress, but also fully meet the large file Upload.
Later server upgrade to Windows 2008, after changing to IIS7, upload files once more than 30M, there will be 404 errors, and is the upload progress of 100%, it is very difficult to think of the Solution.
Repeated testing, found that flash upload files to the correct implementation of The. net program, that is, the. net program itself is problematic;
But less than 30M is all ok, is there a limit to the size of uploaded files?
Check the httpruntime for Web. config:
It's already a big Value.
Because the detailed error message cannot be obtained correctly, a fileupload test is submitted with a normal form, which is really a setup problem for Web. config:
The most probable cause:
Request filtering on the WEB server is configured to reject the request because the content length exceeds the configured Value.
Actions you can try:
Confirm the Configuration/system.webserver/security/requestfiltering/[email in the applicationhost.config or Web. config file protected] settings.
Links and more information
This is a security feature. Do not change this feature unless you fully understand the scope of the Change. You can configure the IIS 7.0 server to reject requests that have a content length greater than the specified Value. This error is returned if the requested content is longer than the configured Length. If you need to increase the content length, modify the Configuration/system.webserver/security/requestfiltering/[email protected] setting.
The original IIS7 upload file size, even in the classic mode, it must be set in the system.webserver, plus go on ok:
<system.webServer>
<security>
<requestfiltering >
<requestlimits maxallowedcontentlength= "1073741824" ></requestLimits>
</requestFiltering>
</security>
</system.webServer>
Upload more than 30M files using swfupload, upload components using flash