Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A Perl script to check for IP address changes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A Perl script to check for IP address changes
Authored by: tmb on Oct 27, '04 07:00:58PM
apart from emailing the result you might as well upload it to your webserver. i'm using the Net::FTP package for that. thus i'm able to figure out my ip even when not on my own mac.

my $ftp = Net::FTP->new("$FTP_SERVER", Debug => $DEBUG, Passive => 1);
$ftp->login("$FTP_USER","$FTP_PWD");
$ftp->cwd("router_ips");
$ftp->put("$PATH/$FILE");
$ftp->quit;
cheers,
-tmb

[ Reply to This | # ]