Thread: Urgent: c code to explore zip/war/ear/jar files

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    2

    Urgent: c code to explore zip/war/ear/jar files

    Hi,

    I need to write c code which displays all the files and directories in a specified path. I want to know if there is any way I can explode zip, jar, war, ear, tar files recursively.

    i.e if there is a tar file in a directory, i should be able to untar it and display its contents. And if another tar file exists as a part of its content, then i should be able to untar it also till am left with a simple file.
    same is the case with zip/war/ear/jar files.

    Can anyone please help me in this regard.

    Thanks,
    Chinnu.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    143
    You might find this website useful

    http://www.wotsit.org/search.asp?s=archive

    Good luck...
    DavT
    -----------------------------------------------

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. create a static library from C++ and C code
    By lehe in forum C++ Programming
    Replies: 1
    Last Post: 04-06-2009, 07:28 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Code Header Files
    By strickey in forum C++ Programming
    Replies: 6
    Last Post: 10-27-2005, 10:07 AM
  4. Large exe files for small amounts of code problem
    By rainmanddw in forum C++ Programming
    Replies: 4
    Last Post: 11-03-2003, 05:52 PM
  5. Merging files (code included)
    By TankCDR in forum C Programming
    Replies: 3
    Last Post: 10-28-2001, 11:06 AM