download.aspx的代码会如下:从LINK=100241888163960的数值找出数据库中相对应的文件相对路径,如C1%F4%D1%D4%C8%D5%BC%C7/lhgbxp.rar
dim t_Link as string =request.querystrint("LINK")
.....
读取服务器上相对应的数据,得出 C1%F4%D1%D4%C8%D5%BC%C7/lhgbxp.rar
.......
dim path as string =C1%F4%D1%D4%C8%D5%BC%C7/lhgbxp.rar从Url=115的数值找出数据库相对应的服务器地址,如ftp://chinaz:[email protected]/
dim t_Link as string =request.querystrint("url")
....
读取服务器上相对应的数据,得出 ftp://chinaz:[email protected]/
.....
dim server as string =ftp://chinaz:[email protected]/ 然后打开另一个网页,就是那个完整的地址
Response.redirect(server & path)' 此时括号内的值就是ftp://chinaz:[email protected]/%C1%F4%D1%D4%C8%D5%BC%C7/lhgbxp.rar

解决方案 »

  1.   

    试试string r = SendRequest( "http://www.chinaz.com/download/download.asp?LINK=100241888163960&Url=115" );public string SendRequest( string requestUrl )
    {
    HttpWebRequest httpWebRequest = ( HttpWebRequest ) WebRequest.Create( requestUrl );
    httpWebRequest.Method = "GET";
    WebResponse webResponse = httpWebRequest.GetResponse();
    StreamReader responseStream = new StreamReader( webResponse.GetResponseStream(), System.Text.Encoding.UTF8 );
    _responseStr = responseStream.ReadToEnd();
    webResponse.Close(); 
    responseStream.Close();
    return _responseStr;
    }
      

  2.   

    to winsalau(猫猫):
    download.asp代码知道也没用啊,还是不知道它的pathto gOODiDEA(无语):
    return _responseStr的是已经Response.Redirect,也就是软件下载过来了