protected void Button1_Click(object sender, EventArgs e)
        {
            Response.ContentType = "text/txt";
            Response.AppendHeader("Content-Disposition", "attachment; filename=" + "file.txt");
            Response.Write(@"C:\temp.txt");
            Response.End();
        }
Hi, the previous code allows me to transfer one file within one click by popping up the 'Save as' dialog box.
I would like to transfer 2 files within on click by popping up 2 'Save as' dialog boxes
I might have a too simplistic approach because the below doesn't work, it just brings one 'Save as' box
protected void Button1_Click(object sender, EventArgs e)
        {
            Response.ContentType = "text/txt";
            Response.AppendHeader("Content-Disposition", "attachment; filename=" + "file.txt");
            Response.Write(@"C:\temp.txt");
            Response.End();
            Response.ContentType = "text/txt";
            Response.AppendHeader("Content-Disposition", "attachment; filename=" + "file.txt");
            Response.Write(@"C:\temp.txt");
            Response.End();
        }
Thanks for your help!