[Zope] auto download link

Dieter Maurer dieter at handshake.de
Fri Feb 13 14:21:03 EST 2004


Jerry wrote at 2004-2-12 16:04 -0800:
>I have some python files that I want users to be able to download.  I
>would like them to be able to click on the anchor and start
>downloading.  I must be missing something fundamental in Zope or HTML.
>I cannot figure out how to *download* the file instead of display it.

You must learn about the "Content-Disposition" header
(search the mailing list archive).
Come back when you have more questions.

-- 
Dieter



More information about the Zope mailing list