Re: [Zope] downloading files to the client
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
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
participants (2)
-
Anthony Baxter -
Robin Becker