29 Jun
2004
29 Jun
'04
8:20 p.m.
--On Dienstag, 29. Juni 2004 14:14 Uhr -0500 John Hunter <jdhunter@ace.bsd.uchicago.edu> wrote:
I have a class in a zope file that returns a zip file. The zip file is created dynamically. Currently, I save this zip file to a zope folder and return it's URL. I was wondering if there was a way to avoid saving it to the zope file system.
Zope has no file system, Zope has an object oriented database. You can spit out the file direct from the temporary file. there is some code in PloneCollectorNG that does the same with PDF files (grep for asPDF()). -aj