[Zope] how to download big files using zope?

Stefan H. Holek stefan@epy.co.at
Mon, 07 Oct 2002 12:14:32 +0200


FWIW, I have a patch for ExtFile that does away with StringIO.
http://www.zope.org/Members/shh/Patches/

Stefan


--On Sonntag, 06. Oktober 2002 08:44 +0200 Yuppie <schubbe@web.de> wrote:

> 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
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--
Those who write software only for pay should go hurt some other field.
/Erik Naggum/