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