asp.net upload large files with swfupload 2.2

two settings in web.config file:

1. Add to system.web node

<httpRuntime executionTimeout="18000" maxRequestLength="2097151" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/>

"2097151" is about 2GB size

 

2.Add to system.webserver node

<security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2000000000" />
      </requestFiltering>
    </security>

"2000000000" is about 2GB size

 

2GB(1.99GB) size is max size which asp.net allowed.  

 

enjoy it.

 

  

  

posted @ 2012-08-23 11:46  无尽思绪  阅读(286)  评论(0编辑  收藏  举报