Hi,
I am having trouble with a non standard download method. I want to provide
a download link to a file, but not the standard one, because I would get
the id as the filename. The id is a random value and thus not suitable for
the customer. The real filename is saved in the title property.
So I created a dtml method "download" like this one:
<dtml-call "RESPONSE.setHeader('Content-Type', content_type)">
<dtml-call "RESPONSE.setHeader('Content-Disposition',
'inline;filename='+title)">
<dtml-var please_give_me_the_raw_data>
And the link is:
HREF="/some/where/my_file/download"
Everything works fine with the filename. But how do I spill out the raw
data to the browser? Any ideas ?
Thanks for your help...
- Andreas
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )