in reply to Zip file problems
use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); $namein = "$path\\$name"; $nameout = "$pathout\\AFJPWEB6_$anio$mes$dia\.zip"; print "Comprimiendo ", $namein,"\n"; my $zip = Archive::Zip->new() ; my $member = $zip->addFile( $namein ); my $status = $zip->writeToFileNamed( $nameout ); die "error somewhere" if $status != AZ_OK;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Zip file problems
by holli (Abbot) on Feb 08, 2005 at 17:38 UTC | |
|
Re^2: Zip file problems
by rev_1318 (Chaplain) on Feb 08, 2005 at 17:42 UTC |