downloading files to the client
Is there any obvious way to force information to be saved as a client file? 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? -- Robin Becker
On Tue, 16 Nov 1999, Robin Becker wrote:
How should I guarantee that the user gets a file save as dialog?
I am afraid there is at least on buggy browser that try to determine content type, and if it thinks the data is text or html - just shows it. It is M$IE. Try to set headers: Content-Type: application/octet-stream Content-Disposition: inline; filename='thefile_inbrowser.dat' Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Robin Becker