Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Reading partial/corrupt zip files

by steves (Curate)
on Jan 01, 2006 at 15:10 UTC ( [id://520243]=note: print w/replies, xml ) Need Help??

in reply to Re: Reading partial/corrupt zip files
in thread Reading partial/corrupt zip files

You've hit on the key -- that the files are not connected. Looking at the code, Archive::Zip appears to always first access the central directory information, which is at the end of the file. For files that are not fully sent, that never works since it's the last part of the file that's missing. It makes sense to build the code around the central directory -- it's surely faster than parsing the entire zip file to get the pieces that are available. So I think a recovery method would have to try and piece things together the slow way as you state.

  • Comment on Re^2: Reading partial/corrupt zip files

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-12 18:47 GMT
Find Nodes?
    Voting Booth?

    No recent polls found