Hello,
I generated a txt file, but the user requirement says, that the system must ask the user where he wants to download it.
I generated the file this way
File.WriteAllText(Server.MapPath(EPM.Financiera.RecaudosWeb.Soporte.Configuracion.ContextoSitioRecaudos.RutaArchivosGenerados + DateTime.Now.ToLongDateString() + ".txt"), GenerarArchivo());
Response.Redirect(EPM.Financiera.RecaudosWeb.Soporte.Configuracion.ContextoSitioRecaudos.RutaArchivosGenerados + "archivo.txt");
But it redirects the browser to the txt file and the user would have to manually go to the browser Save as option,
any idea?
Thanks
Don't forget to click "Mark as Answer" on the post that helped you.
Luis Esteban Valencia - Medellin - Colombia
http://wantmvp.blogspot.com/
MCP, MCTS SQL 2006, MCTS WEB APP, MCTS WINFORMS, MCTS DISTRIBUTED, NEXT MCPD ENTERPRISE APPLICATION DEVELOPER