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 9024 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 8733 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 8723 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 8701 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 8699 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 8720 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 8718 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 8681 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 8693 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 8694 Feb 4, 2003, 1:30 PM