in reply to Re: Archive::Zip - zip files are corrupted or invalid
in thread Archive::Zip - zip files are corrupted or invalid
But I still receive the same error on the file that is directly created by my script, not the one sent through ftp, so the binary mode in ftp wouldn't be the problem.open my $fh, ">>", $fullpath or die $!; binmode $fh; print $log "Writer error.\n" if $zip->writeToFileNamed( $fh ) != AZ_OK +; close $fh;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Archive::Zip - zip files are corrupted or invalid
by Corion (Patriarch) on Jul 12, 2011 at 16:30 UTC | |
by tomdbs98 (Beadle) on Jul 12, 2011 at 16:36 UTC |