我做了一个下载程序,是这样的
用户先在ShowSoft.aspx?id=xxx中查看软件的详细资料,然后点击“下载”,就可以打开OpenSoft.aspx?id=xxx实现页面转向,从而下载到软件下面是OpenSoft.aspx.cs文件的部分代码string url;
SqlCommand objCmd = new SqlCommand("SELECT soft_url FROM soft WHERE soft_id=@strSoftId", Conn);...//SqlParameter ...try
{
    Conn.Open();
    url = (string)objCmd.ExecuteScalar();
}
catch(Exception ex)
{
    url = "";
    throw new Exception(ex.Message);
}
finally
{
    Conn.Close();
}
if(url != "")
{
    Response.Redirect(url);//转向的是FTP上的软件,比如ftp://ftp.xx.com/dd.exe
}
else
{
    throw new Exception("no file found!");
}现在有个怪现象,在服务器上可以在WEB上点击“下载”实现下载
而在客户机上点击“下载”是The page cannot be displayed
点右键选“目标另存为”是The login request was denied对话框请问我哪点没做对