FileSystemStorage 2.8rc2 (Release candidate) (Apr 07, 2010)
This is not a final release. Experimental releases should only be used for testing and development. Do not use these on production sites, and make sure you have proper backups before installing.
Improvement on big file.
|Tested with||Plone 3|
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)