Thanks guys for this informative thread.
I use Archive::Zip extensively, including in mod_perl context.
I have not encountered this problem yet, but will now make sure to keep
an eye open for it when I upgrade my systems.
Thomas den Braber wrote:
Yes I am sure that second argument is false.
I
g
Date: Tue, 12 Jan 2010 23:06:49 -0500
Subject: Re: Zip on the fly problem
> On Tue, Jan 12, 2010 at 10:11:04PM -0500, Scott Gifford wrote:
> > On Tue, Jan 12, 2010 at 7:49 AM, Thomas den Braber
> wrote:
> > [ ... ]
> >
> > > The error is: 'IO erro
On Tue, Jan 12, 2010 at 10:11:04PM -0500, Scott Gifford wrote:
> On Tue, Jan 12, 2010 at 7:49 AM, Thomas den Braber wrote:
> [ ... ]
>
> > The error is: 'IO error: seeking to rewrite local header : Invalid
> > argument'
> >
>
> That error means that after writing something to the ZIP archive, it
On Tue, Jan 12, 2010 at 7:49 AM, Thomas den Braber wrote:
[ ... ]
> The error is: 'IO error: seeking to rewrite local header : Invalid
> argument'
>
That error means that after writing something to the ZIP archive, it tried
to go backwards to put what it just wrote in the header, but found it
co
Not satisfied with the size of your file?
On Tuesday 12 January 2010 13:49:34 Thomas den Braber wrote:
> I use Archive::Zip to generate zip files on the fly in Modperl 2.04 with
> code similar like this:
>
> my $zip = Archive::Zip->new();
> my $member = $zip->addFile( '/home/testimg/test1.jpg', 'testfile1.jpg' );
> if ($member){
> $me
Hi,
I use Archive::Zip to generate zip files on the fly in Modperl 2.04 with
code similar like this:
my $zip = Archive::Zip->new();
my $member = $zip->addFile( '/home/testimg/test1.jpg', 'testfile1.jpg' );
if ($member){
$member->desiredCompressionLevel( 1 );
}
$member = $zip->addFile( '/home/