Thanks for the information. I have tried to create a ziptest code with the information found but when I tried to inflate the contents by calling inflate() [line68], I am getting Z_DATA_ERROR citing input data is corrupted or not conforming to zlib format but I can do zipinfo or unzip on the attached ziptest.zip file successfully (and also the zip header is found to be valid by the header validity check done in the program) Can anyone point me as to what should I being more to get rid of this problem? Thanks in advance Prasanta Glynn Clements wrote: > Prasanta Sadhukhan wrote: > > >> Can anyone point me as to how to list the contents of zip file using ANSI c? >> Any pointers will be appreciated >> > > Look at the source code for Unzip: > > http://sourceforge.net/projects/infozip/files/ > >