Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Reading partial/corrupt zip files

by Anonymous Monk
on Jan 01, 2006 at 08:46 UTC ( #520219=note: print w/replies, xml ) Need Help??

in reply to Reading partial/corrupt zip files

All my attempts with existing Archive::Zip methods result in errors and no data.
Code, errors? Did you try Low-level member data reading?

Replies are listed 'Best First'.
Re^2: Reading partial/corrupt zip files
by steves (Curate) on Jan 01, 2006 at 14:35 UTC

    Code, errors? Did you try Low-level member data reading?

    I figured the key is probably in the low level routines. I didn't get too far with those (yet anyway). The issue is that the low level routines are member oriented. So I first have to know what members are in the zip file. In order to get members, you first have to read an existing zip file. The read method fails. After that failure none of the member methods return anything.

    Next I was going to take a corrupt zip I was able to read using one of the many Windows zip readers that handles corrupt files and try pulling members it tells me exist using the low level methods -- bypass the necessary step of having to first identify the members for now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520219]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2016-10-25 10:53 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (317 votes). Check out past polls.