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.
Any suggestions?
Software/Hardware used: PERL, Linux Enterprise, Apache
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: