Re: Zip on the fly problem

2010-01-13 Thread André Warnier
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

Re: Zip on the fly problem

2010-01-12 Thread Thomas den Braber
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

Re: Zip on the fly problem

2010-01-12 Thread Ronald J Kimball
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

Re: Zip on the fly problem

2010-01-12 Thread Scott Gifford
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

Re: Zip on the fly problem

2010-01-12 Thread David Nicol
Not satisfied with the size of your file?

Re: Zip on the fly problem

2010-01-12 Thread Torsten Förtsch
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

Zip on the fly problem

2010-01-12 Thread Thomas den Braber
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/