Download multiple files with Perl
Posted on 2006-07-23
Im in a bind with downloading files. I want the website visitor to click a series of boxes depending on what files they want to download and send the request to a Perl script to initiate the download. I have a perl script that will download one file -- it works. Is there a way to download an entire folder containing several files? I've also tried using Archive::Zip to place all the requested files into one zip file to download, but that may be an unnecessary step. Another problem with Archive::Zip: the files, once downloaded, reveal the folder structure of my server -- probably not a good idea.
Can anyone suggest a secure and reliable module, if one exists, that will initiate the download of several requested files at the same time?