> I'm create a CSV file that I would like browsers to get the "save as"
> dialog when they select it.

> I'm using RESPONSE.write() to write out the CSV file, and I set the
> Content-Type before calling RESPONSE.write


> Netscape seems to work ok, it pops up a save box for "text/csv" and
> "application/vnd.ms-excel".

> However in both cases IE5.5 just ignores the data and re-requests the
> page.

> Does anyone know *all* the steps I need to take to get this to work
> correctly with IE? I must be doing something wrong. I want to supply a
> CSV file, but generated dynamically. I'm sure I'm missing a header
> setting or something.
Adding "Content-Disposition: attachment [; filename=bla.csv]" as a http-header might 
help...
The part in []s is optional .
See my mail from yesterday for a bit more info

cheers,
oliver

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to