I can't get my script to ftp.
I have a feeling it is network/socket/protocol stuff. ( I don't know much about communciations, as is apparent.)
Can anyone help?
Here's the code.
--------------------------------------------
#!/usr/sbin/perl -w
use Net::FTP;
$host = "123.45.678.912"...
I can't get Net::Ping to work.
Here is my code:
-----------------------------------------------
use Net::Ping;
use Net::FTP;
$host = "hpsab4";
$timeout = 30;
use Net::Ping;
$pong = Net::Ping->new( $> ? "tcp" : "icmp" );
(defined $pong)
or die "Couldn't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.