Search the Community
Showing results for tags 'zip'.
Found 2 results
Hi all, Hopefully there's somebody who can help me with an issue while unzipping files. My goal is to show banners in a portfolio. In ProcessWire I have created a field, type 'Files', where I can upload the .zip files, one at a time. I've selected the option Decompress ZIP files, but any subfolder in the .zip somehow disappears. For example the 'assets' folder is gone after I uploaded the .zip file (see the attachment for the file structure). I'm curious, is there a way to preserve the file structure inside a .zip file after unzipping it? Kind regards, Remco
In page-edit mode, it would be nice to have an optional download-button for inputfield type file. i.e. when a user has uploaded two dozen files (perhaps through the frontend), and someone else needs to download these from the backend all at once, without having to open an FTP client. There would simply be a download link / button, and a ZIP would be generated on the fly, containing all files. If someone has an idea how to do that (a hook?), I'd be all ears