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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://520219]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-17 11:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found