Hi,
at the moment I'm downloading some txt- and csv-files from other server and save them on mine using the
use LWP::Simple;
$rc = getstore( "http://www.xxx.de/xxx/artikel/BNARTIKEL.txt", "/var/www/html/xxx/temp/BNARTIKEL.txt" );
method.
What I now what to know is how to do nearly the same with zipped txt-files.
The point is that I want to unzip them (via perl-cgi) before or after saving the file on my server.
Something like:
use LWP::Simple;
$rc = getstore( http://www.xxx.de/...rtikel/BNARTIKEL.zip, "/var/www/html/xxx/temp/BNARTIKEL.zip" );
UNZIP "/var/www/html/xxx/temp/BNARTIKEL.zip" AND SAVE AS "/var/www/html/xxx/temp/BNARTIKEL.txt"
Does anyone have an idea how to do that ??
Regards,
Manu
Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
at the moment I'm downloading some txt- and csv-files from other server and save them on mine using the
use LWP::Simple;
$rc = getstore( "http://www.xxx.de/xxx/artikel/BNARTIKEL.txt", "/var/www/html/xxx/temp/BNARTIKEL.txt" );
method.
What I now what to know is how to do nearly the same with zipped txt-files.
The point is that I want to unzip them (via perl-cgi) before or after saving the file on my server.
Something like:
use LWP::Simple;
$rc = getstore( http://www.xxx.de/...rtikel/BNARTIKEL.zip, "/var/www/html/xxx/temp/BNARTIKEL.zip" );
UNZIP "/var/www/html/xxx/temp/BNARTIKEL.zip" AND SAVE AS "/var/www/html/xxx/temp/BNARTIKEL.txt"
Does anyone have an idea how to do that ??
Regards,
Manu
Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

