response.transmitfile

Problems with Response.TransmitFile, Response.End and IE

I am developing an ASP.NET app which at one point sends a file to the user, using Response.TransmitFile. It works fine on my dev machine, and when I deploy it to the test servers it still works on two of them; in one of the servers though (W2K3) it only works on Firefox, when I try it on IE7 I get an error like "Internet Explorer cannot...

Why does IIS7 ignore my content-type header when I use ASP.NET to stream files?

I have a simple web site with two pages. One displays a list of files, and the other streams a file when it's clicked in the list. All was fine in production for 6 months, but now I have to move the site to Windows 2008/IIS7. I have it mostly working, but the files don't open properly (in Firefox) because my content-type header is bei...

Response.TransmitFile and delete it after transmission

Hi, i have to implement GEDCOM export in my site. my .net code created one file at server when export to gedcom clicked. then i need to download it to client from server as well as user should be asked to where to save that file means savedialog is required. after its downloaded. i want to delete that file from server. i got one code t...

Using Response.TransmitFile for physical file not working

I am trying to user the Response.TransmitFile() to prompt a download. I have read a number of posts on the issue and based my method off Rick Strahl's blog http://www.west-wind.com/weblog/posts/76293.aspx The only difference (that I can tell) is that I am targeting a physical file outside of the virtual directory. This code is called in...