Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://225567]
Approved by Mr. Muskrat
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-06-30 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (97 votes). Check out past polls.

    Notices?