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:
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?
Zope3-users mailing list