PloneFilesZip
Let your visitor download the files and images from folders in a single ZIP file.
Current release
PloneFilesZip 1.1.0RC3
Released Feb 28, 2007 — tested with Plone 2.5, Plone 2.1
PloneFilesZip provides a tool that let users download all files from a folder (recursively) in a ZIP archive
More about this release…
Project Description
What's PloneFilesZip
PloneFilesZip provides a new document action in all folderish contents (ATFolder, ...) that let the user download files (and images) contained in the fields of any AT based content (ATContentTypes and others) in that folder.
PloneFilesZip works - out of the box - with any content type which schema has a FileField, an ImageField or any field that acts like a FileField, as the AttachmentField.
Customizing (site manager)
- Choose the content types that can profide files to the user among compatible types.
- Add Dublin Core information (RDF formatted) about the contents in the ZIP archive.
- Tweak the condition/permission to let the user download.
Customizing (content type developers)
Some content types have schemas that do not "show" the compatible fields through the standard AT API. In order to let these content types provides files in a ZIP archive, developers can add type adapter classes in the PloneFilesZip types registry. An adapter for PloneArticle is less than 20 Python lines.Some custom field types may provide files. In order to let the content types built with such fields provide files to a ZIP archive, developers can add field adapter classes in the PloneFilesZip fields registry.
Commented interfaces are provided for field and types adapters. Please red README.txt for more about building and registering an adapter.
But users will burn my server downloading dozens of megabytes?
Don't worry:
- The zip file is built in a temporary file system folder, not in memory
- The zip file is published through a file stream iterator
- The temporary zip file is deleted from the server after download.

