At 08:44 2002-10-06 +0200, Yuppie said:
Andy McKay wrote:
Google for ExtFile. -- Andy McKay www.agmweb.ca ----- Original Message -----
Is there a way to just pass the file through? Without loading it in a string or in the ZODB?
Thanks! But I had a look at the source of ExtFile:
It copies the file into StringIO(). That means it *does* load the complete file into memory before you can download it.
Any other hints? Yuppie
Hi Yuppie, I've made a hack of the LocalFS product that can stream objects from the filesystem instead of copy through StringIO. I have put it on zope.org: http://www.zope.org/Members/johanc/StreamingFS/StreamingFS.zip Most other products I've looked at does this copy operation. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson johanc@torped.se Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32 31 83 Mobil +46-(0)70-558 25 24 http://www.torped.se http://www.easypublisher.com