buildZipArchive
Thorsten Weber <[email protected]> Fri, 6 May 2011 11:10:50 +0200
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear developers.
I am trying to generate a zip file on server and store it in archtype file field.
<dtml-call "setObjProperty('zip_file',exportfile,lang)">
I followed this article (http://www.zms-publishing.com/dokumentation/magic/zip_archive_erstellen/index_ger.html)
but unfortunately it does not work for me:
I can see on server the temp dir and in it the file to be zipped and the py-script returns exportfile
but i dont get it stored in zms file field.
btw ... doing the same with an image works
<dtml-call "setObjProperty('zip_file',myImage,lang)">
setObjProperty is called within onChangeObjEvent Methode
can anybody help?
kind regards,
Thorsten Weber