Efficient serving of large files using iterator?
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
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/
_______________________________________________
Zope-Dev maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )