|Think about Loose Coupling
Reading partial/corrupt zip filesby steves (Curate)
|on Dec 31, 2005 at 23:41 UTC
steves has asked for the wisdom of the Perl Monks concerning the following question:
I'm wondering if anyone has used Archive::Zip or a similar module for reading partial/corrupt zip files. These would normally be large files that didn't make it all the way before FTP or whatever dropped the connection. I've found that some Windows based zip programs read what they can and tell me the rest is corrupt. So I'm guessing there are standard approaches to this. All my attempts with existing Archive::Zip methods result in errors and no data. If someone has done this sort of thing I'd gladly start my new year off on a lazy foot and take advantage of what you've done.