[Zope-dev] Efficient serving of large files using iterator?
lists at nidelven-it.no
lists at nidelven-it.no
Thu Feb 21 07:56:53 UTC 2013
Hi,
I've tried
from ZPublisher.Iterators import filestream_iterator
return filestream_iterator('/home/chrism/bigfile.xls', 'r')
in a method to return a big file to users; however, it doesn't work, are
there alternative ways to serve large files to users, serving files that
are lying somewhere on the filesystem?
Thanks,
Morten
--
Nidelven IT || We know Python, Zope & Plone
http://www.nidelven-it.no/
More information about the Zope-Dev
mailing list