Efficient serving of large files using iterator?

[email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.