Re: code to list contents of zip files
Glynn Clements <[email protected]>
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
Prasanta Sadhukhan wrote: > Thanks. I tried finding the central directory and list the contents > which I am now able to do. I got the match also but I am not sure how > would I get the contents once I get the match. Once you've located the correct file header in the central directory, the "relative offset of local header" field will allow you to find the corresponding local file header, and the compressed data will be after that. -- Glynn Clements <[email protected]>