我想上传多大的文件就上传多大的文件。请问怎么处理啊
大家有源码吗。。

解决方案 »

  1.   

    观注一下
    在config文件中加入
    <httpRuntime maxRequestLength="文件大小" executionTimeout="300" useFullyQualifiedRedirectUrl="false"></httpRuntime>
      

  2.   

    简单点设置maxRequestLength的值,如果还是解决不了,可以参考http://blog.joycode.com/saucer/archive/2004/03/16/16225.aspx
      

  3.   

    大文件还是写个ActiveX或者Applet插件处理。
      

  4.   

    大文件上传使用ftp或用组件如neatupload、SWFUload ,分块上传 
    <configuration> 
    <system.web> 
    <httpRuntime maxRequestLength="1048576" executionTimeout="3600" /> 
    </system.web> 
    </configuration>