G
Graham Wood
I need to check the structure of a nested zipfile and I'm wondering if
it is possible to do this using Archive::Zip without having to extract
the contents of the outermost zipfile into a temporary directory.
The structure of the zipfile is:
1233456.zip
123456_ar.zip
123456/abcdef/xy/help/US/file1.htm
123456/abcdef/xy/help/US/file2.htm
123456/abcdef/xy/help/US/file3.htm
123456_bg.zip
123456_ce.zip
I want to do this:
1 open the 123456.zip
read the filename.zip list (I've got this far!)
foreach filename.zip (eg 123456_ar.zip)
list the contents of the filename.zip
}
}
Can I get there without extracting 1233456.zip first?
Thanks in advance
Graham
it is possible to do this using Archive::Zip without having to extract
the contents of the outermost zipfile into a temporary directory.
The structure of the zipfile is:
1233456.zip
123456_ar.zip
123456/abcdef/xy/help/US/file1.htm
123456/abcdef/xy/help/US/file2.htm
123456/abcdef/xy/help/US/file3.htm
123456_bg.zip
123456_ce.zip
I want to do this:
1 open the 123456.zip
read the filename.zip list (I've got this far!)
foreach filename.zip (eg 123456_ar.zip)
list the contents of the filename.zip
}
}
Can I get there without extracting 1233456.zip first?
Thanks in advance
Graham