Gossamer Forum
Home : General : Perl Programming :

How do I extract the files from a .tar.gz file on my web-site?

Quote Reply
How do I extract the files from a .tar.gz file on my web-site?
I have uploaded a .tar.gz file to my web-site and have tried to extracht the content with Archive::Tar, but without luck. According to my web-host the Archive::Tar modul is installed!

The script I use (or more precisely: the lates i have tried) is as follows:

#!/usr/local/bin/perl

use Archive::Tar;
$tar->extract_archive("billeder.tar.gz");
print "Content-type: text/html\n\n";
print "OK its extracted\n";


I am an ignoramus when it comes to perl moduls so the script might by rather stupid. Please help
Subject Author Views Date
Thread How do I extract the files from a .tar.gz file on my web-site? rompole 9069 Feb 3, 2003, 1:38 AM
Thread Re: [rompole] How do I extract the files from a .tar.gz file on my web-site?
Paul 8777 Feb 3, 2003, 3:22 AM
Thread Re: [Paul] How do I extract the files from a .tar.gz file on my web-site?
rompole 8767 Feb 4, 2003, 1:15 AM
Thread Re: [rompole] How do I extract the files from a .tar.gz file on my web-site?
Paul 8745 Feb 4, 2003, 2:26 AM
Thread Re: [Paul] How do I extract the files from a .tar.gz file on my web-site?
rompole 8743 Feb 4, 2003, 4:28 AM
Thread Re: [rompole] How do I extract the files from a .tar.gz file on my web-site?
Chaz 8764 Feb 4, 2003, 11:54 AM
Thread Re: [Chaz] How do I extract the files from a .tar.gz file on my web-site?
Paul 8762 Feb 4, 2003, 12:22 PM
Thread Re: [Paul] How do I extract the files from a .tar.gz file on my web-site?
Chaz 8725 Feb 4, 2003, 12:38 PM
Thread Re: [Chaz] How do I extract the files from a .tar.gz file on my web-site?
Paul 8737 Feb 4, 2003, 1:23 PM
Post Re: [Paul] How do I extract the files from a .tar.gz file on my web-site?
Chaz 8738 Feb 4, 2003, 1:30 PM