Hello,

I'm a Zope3 newbie. I want to send to user a file while he clicks on a link.
The file is created dynamically and sent to user for example in ZIP format.
I think I had to use IFile interface and File class. But I dont know how to
prepare it and send it to user. My code:

class ISomeContainer(IReadContainer):
    contains(IFile)

then I have:

self['zip'] = File("some data", "application/zip")

So when I access url: http://somepath/zip
browser shows 'some data', but I want to see 'Save As' dialog window.
How to do that?

Godfryd
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to