Upload more than 30M files using swfupload and upload components using flash

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.