You are not logged in Log in Join
You are here: Home » Members » Andreas Heckel » LocalFS for Zope 2.7.1 released » View NewsItem

Log in
Name

Password

 

LocalFS for Zope 2.7.1 released

EasyLeading.org is happy to announce the release of LocalFS 1.3

LocalFS lets you deliver static files from your local file system.

As it seems that LocalFS is no longer maintained at sourceforge.net we at EasyLeading.org decided to keep this wonderfull Product up to date.

The new version uses a filestream_iterator implementation introduced with Zope2.7.1.

The major enhancement is to allow LocalFS to serve static files from the filesystem without first needing to read all file data into memory or explicitly chunking data from static files out via RESPONSE.write (both of which are slower than just letting medusa itself handle the output via a native producer).

If LocalFS can't import filestream_iterator it uses the old method to serve files. Therefore it is backward compatible to Zote2.6 and Zope2.7.0

This is free software and you can download it at:

EasyLeading download section

Greetings Andreas Heckel

Comment

Discussion icon Fix for 2.9.3

Posted by: cowtung at 2006-07-03

Since OFS.content_types was depreciated from 2.9.3, this version of LocalFS is once again broken. And once again, you can fix it with a small change to the code. Open LocalFS.py, go to line 51 which reads...

from OFS.content_types import find_binary

... and change that line to ...

from zope.app.content_types import find_binary