Here is my code for the Force Download:
        // URL = Download.aspx?Url=How to use the Application.txt    
        string q = Request.QueryString["Url"].ToString();
        Response.Clear();
        Response.AddHeader("Content-disposition", "Attachment; Filename=" + file);
        Response.ContentType = "Text/Plain";
        Response.WriteFile(Server.MapPath("Directory/" + q));
        Response.End();
The Dialog Box that apears in Firefox says: You are going to open the file: And the filename is displayed just ass How (the name should be: How to use the Application.txt ). The sama I mentioned if I try to wright the filename for my self:
Response.AddHeader("Content-disposition", "Attachment; Filename=How to use the Application.txt");
The same apears. Please Help!
 
     
     
    