The apache daemon will write to these directories in response to events from remote users interaction via cgi. When the same remote connection to the same cgi script invokes archive::zip it wiill not write a file.
This code will write to disk:
open(WOBBLE, ">/caralan_com/system/proofing/cam_proofs/steve/live/fl
+unk2.txt");
my $zip = Archive::Zip->new();
$zip->addTree( '/delme/wibble', 'customer_uploads' );
$zip_return_code = $zip->writeToFileHandle('WOBBLE');
close(WOBBLE);
But this will not:
my $zip = Archive::Zip->new();
$zip->addTree( '/delme/wibble', 'customer_uploads' );
$zip_return_code = $zip->writeToFileNamed('/delme/$proofstem.zip');
|