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.

 

  

  

你可能感兴趣的:(asp.net upload large files with swfupload 2.2)