Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Need help with serving .tar.gz files

by spork (Monk)
on Jan 09, 2003 at 16:20 UTC ( #225567=perlquestion: print w/replies, xml ) Need Help??
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://225567]
Approved by Mr. Muskrat
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-03-22 17:34 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (281 votes). Check out past polls.