HttpUtility.UrlEncode(myFullName))  =========>
HttpUtility.UrlEncode(System.Text.Encoding.UTF8.GetBytes(strFileName));
试试

解决方案 »

  1.   

    在web.config设置就行了
    <httpRuntime executionTimeout="900" maxRequestLength="2048000" useFullyQualifiedRedirectUrl="false" minFreeThreads="8"   minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/> 修改maxRequestLength就可以了,上传一定可以,你去试试下载看行不
      

  2.   

    对于大文件的输出
    不要使用Response.WriteFile
    你的内存会被耗尽的if(File.Exists(filePath))
    {
    Response.ContentType = "application/octet-stream"; 
    BinaryReader br = new BinaryReader(File.OpenRead(filePath));
    BinaryWriter bw = new BinaryWriter(Response.OutputStream);
    byte[] buffer = new byte[1024];
    int i = 1024;
    while(i == 1024)
    {
    i = br.Read(buffer,0,i);
    bw.Write(buffer,0,i);
    }
    br.Close();
    bw.Close();
    return;
    }