How can I write a PHP script to zip and download an Assets subfolder? I've searched everywhere but can't seem to get a straight answer.  I want to write a php script to zip and download an entire subfolder in my assets directory.  The subfolders are named based on a variable.  Where do I write this php code?  Must I write a custom plugin for something so simple?
Yes, you'd need to write a plugin to do this... or you could write a module. There are some plugins that may already do what you want tho: Squeeze / Compress