> When mylfs references a directory meta_type is 'Local Directory'
> but if mylfs references a file meta_type is 'File'.
>
> How can I let the user download the file?

I tried it like this:

<dtml-call "RESPONSE.setHeader('content-type',mylfs.content_type)">
<dtml-var mylfs>

It mostly worked, except that my html documents were getting html-quoted. If you
can solve that I think you're home free.

--jfarr



_______________________________________________
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 )

Reply via email to