Hi I have a program who create one txt archive for the user, but this archive i salved in local folder, i want put like a download file i I.E my code looks like this:
string arquivo = @"C:\Prints\text.txt"; FileInfo info = new FileInfo(archive); Response.Clear(); Response.ContentType = "application/octet-stream"; Response.AddHeader("Accept-Header", info.Length.ToString()); Response.AddHeader("Content-Disposition", "attachment; filename=\"" + info.Name + "\""); Response.TransmitFile(info.FullName); Response.Flush(); any ideias?? -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net