FileSystemStorage 2.6.3 (Apr 07, 2010)

FileSystemStorage

Improvement on big file. Always deal with iterator on big file. Avoid Memory Error.

For additional information about this project, please visit the overview page .

Available downloads

FileSystemStorage-2.6.3.tgz

For all platforms (0 KB)

Release Notes

Tested with Plone 2.5, Plone 2.1, Plone 2.0
State Final release
License GPL
Release Manager yboussard

BE CAREFULL : RELEASE ONLY FOR PLONE <= 2.5
PLEASE USE THE LAST 2.8 rc in order to have the same functionnality on PLONE >= 3

Change log

Change behaviour of VirtualData class. Now VirtualData work as OFS.image ie to
acces data you MUST pass by a chained list (FSSPdata) that contain only a
block of data. This block of data is getting by a filestream iterator. So no
more memmory consuption (max 65536 , a block of data). This is an important
change because when Products.Archetype.Field.FileField get metatada of a File
old version of fss get all file data for this (ie myField.getFilename() -> you
have your all data in memory !!). Also when you invoke
Field.download(instance, no_output = True) you get now a filestream iterator
(There is a patch to this method because of dowload must set content-length
header for the publisher)