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: