Re : Re: [Zope] .doc in zopedb /isa/mitchy
is it for forcing all browsers to download the document ? because it's to change the name ... :-) isa On Fri, 2003-09-12 at 08:47, Isa150183@aol.com wrote:
If you want to force all browsers to download the document (instead of viewing it) you will need to set some HTTP headers in a script, and have the script pass through the document - instead of linking to the document, you will need to link to that script.
how to do this ?
I believe you can get the answers in this HOWTO: http://www.zope.org/Members/teyc/howtoFileDownloadName
On Fri, 2003-09-12 at 09:35, Isa150183@aol.com wrote:
is it for forcing all browsers to download the document ? because it's to change the name ... :-) isa
Well then, just change the name in your dtml method from NewFileName.exe to whatever your document is. :^P -- mitchy
participants (2)
-
Isa150183@aol.com -
Mitch Pirtle