Uploadify upload large files and HTTP Error 404 Solutions

Source: Internet
Author: User

Before using uploadify to do a upload picture and preview the feature, today in the project, to use the plugin upload large files. Before you get the demo of uploading pictures, use the demo to test. I can view this article: [asp.net]uploadify All configuration instructions, common bug issues analysis.

Large File Upload

First step: Modify the Uploadify parameter

1 ' filesizelimit ': ' 0 ',//single file size, 0 is unrestricted, acceptable KB,MB,GB and other units of string value

2 ' filetypedesc ': ' file ',//File description image files

3 ' filetypeexts ': ' *.zip; *.rar; *.png ',//allowed file types to be uploaded

Test, upload the test with a file larger than 30M.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/aspx/

Step Two: Modify Web.config

<configuration>
  <system.web>
    <compilation debug= "true" targetframework= "4.5"/>
    <!--maxRequestLength is the maximum number of characters, the maximum value can not exceed 2 G or so, executiontimeout is the timeout--> 
    

Test, still use the above file, upload test.

Step three: Add the system.webserver node

<configuration>
  <system.web>
    <compilation debug= "true" targetframework= "4.5"/>
    <!--maxRequestLength is the maximum number of characters, the maximum value can not exceed 2 G or so, executiontimeout is the timeout-->
    

Test, still use the above file, upload test:

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.