Is it possible with PERL to create a temporary zip file that is just served up? (vs. create zip, provide link, delete file). I am not looking for code but more a point in the right direction to do something on the fly.
I do have shell access.
For example let's say that I have a bunch of directories of photos. Instead of someone having to click each file in a dir to download they can click a link to 'create zip' and download the entire directory. No problem, I can write zip scripts all day but I don't want to keep the zip file on the server or have to go back a delete if there is a better way to accomplish this with a temp dir or stream.
Software/Hardware used: PERL, Linux Enterprise, Apache