save remote files

You have hundreds of urls in url-list2.txt. This script will store all html code (from these sites) in ffff2.txt. For example : you can later extract the urls of them. This saves a lot of time.

 

open (ERSTE, "url-list2.txt") || die "file not found\n";

@urls = <ERSTE>;
close (ERSTE);


foreach (@urls)
{

use LWP::Simple;

$url=$_;
$rueckgabewert=get($url);

open (FULLrt1rt, ">>ffff2.txt") || die "file not found\n";
print FULLrt1rt "$rueckgabewert";
close (FULLrt1rt);

}


 

 

 

Back to previous page

Get Free Autoresponder

Enter your email address below and you will receive a powerful Autoresponder and our Special Ezine for free:

(Please use your real email address or else you won't receive the free script)

Name: *
Email: *

Or you can subscribe by clicking this link to send an email automatically:

mailto:amlmEzine@DrQuek.com