context.REQUEST.RESPONSE.setHeader('Content-Disposition','attachment;
filename=%s' % context.getId())

Nice idea, but what i need is different. In PHP there is a function
called readfile, i'm sure there is something also in Zope, but i'm not
able to find it!

No, I can tell you you are on the wrong path. Zope isnt PHP. Dont try
to follow old PHP patterns with Zope.
(Of course you could read the file object data but this inefficient)

What is the problem with above solution?

Regards
Tino
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to