Hi Jim, Perhaps the solution to your problem: Delete the "Temporary Internet Files" in Internet Explorer and try again. I had similar problems with viewing the source of webpages. Deleting the cache was a solution on the microsoft website and it worked for my problem. It seems an IE bug that exposes itself when the cache limit is (almost) reached. Greetings, Ria Marinussen
Message: 5 Date: Fri, 9 Jan 2004 11:01:32 -0500 From: "Jim Kutter" <jim@ebizq.net> Subject: [Zope] MSIE 6 not opening MIME attachments To: <zope@zope.org> Message-ID: <EBA064F73335E9479B473032FE5CBCEBCE0975@cmburns.ebizq.net> Content-Type: text/plain; charset="us-ascii"
I'm trying to send a CSV via a python script. My problem is in IE 6, if the user clicks on "Open" instead of save from the dialog that appears, Excel will launch, but not find the file in the Temporary Internet Files folder. Clicking on "Save" then opening the file manually works just fine.
Is this a problem with my response headers or an IE bug?
Here are the headers I'm sending:
response.setHeader('Content-Type', 'text/csv') response.setHeader('Content-Length', len(printed)) response.setHeader('Content-Disposition', 'attachment; filename=%s' % filename)
return printed