Re: code to list contents of zip files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <glynn@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux