in reply to Re: Re: question about a reply to the Zip::Archive post
in thread question about a reply to the Zip::Archive post

my @path = split '/', $fileToUpload; my filename = $path[-1]; $zip->addString($contents, $filename); print header( -type => 'application/zip', -attachment => "$filename.zip" );

cheers

tachyon