spork has asked for the wisdom of the Perl Monks concerning the following question:

I'm not sure if this is even possible, but this is the best forum I could think to ask my question in. I am developing a document library complete with checkin/checkout services and archiving capabilities. The archives are where I am having the most dificulty.

The archive directory structure is set up such that it is a mirror image of the active document structure (files are grouped based on logical business rules) with the exception being that the document name is a directory and not a file in the archive directory. In the archive branch files are stored in .tar.gz format with a version number (<doc name>.<version number>.tar.gz) under the document name directory. This is done so that the user can have quick and direct access to any archive whether they walk down the directory tree to find the file or if they find the file via keyword search.

Now that background has been covered I have a question. Is it possible to have this system set up so that the archive files display as a list of links to the specific .tar.gz files AND to untar/uncompress the files in place so that they can be served as normal docs.

Help and links to help are gratefully accepted.

Replies are listed 'Best First'.
Re: Need help with serving .tar.gz files
by Mr. Muskrat (Canon) on Jan 09, 2003 at 16:30 UTC
•Re: Need help with serving .tar.gz files
by merlyn (Sage) on Jan 09, 2003 at 16:34 UTC