[Zope] downloading files to the client

Robin Becker robin@jessikat.demon.co.uk
Tue, 16 Nov 1999 13:35:47 +0000


In article <199911161221.XAA06699@mbuna.arbhome.com.au>, Anthony Baxter
<anthony@interlink.com.au> writes
>>>> Robin Becker wrote
>> In the absence of a browser independent way to copy tables to the
>> clipboard I will create an external method for dumping the information
>> directly to the browser as a 'file'.
>> 
>> How should I guarantee that the user gets a file save as dialog? 
>
>Set the content-type to something that the user's browser recognises
>as 'something to download'. Try 'application/octet-stream'.
>
>Anthony
yep that was my reasoning.
-- 
Robin Becker