Return to Snippet

Revision: 13656
at April 30, 2009 16:44 by jink


Initial Code
//For TEXT:
Response.ContentType = "text/txt";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + "file.txt");
Response.Write(file.ToString());
Response.End();

Initial URL

                                

Initial Description

                                

Initial Title
ASP.net: Send a file to a user through Response

Initial Tags
file, download, aspnet

Initial Language
ASP