Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: NET::FTP Package

by insensate (Hermit)
on Nov 21, 2002 at 17:03 UTC ( [id://214819]=note: print w/replies, xml ) Need Help??


in reply to Re: NET::FTP Package
in thread NET::FTP Package

Bad file descriptor is weird... can you verify that the variable being passed into the constructor represents a valid host...i.e. print the variable and ping the host to make sure it's reachable from the machine. Also, try:
my $ftp = Net::FTP->new( "$G_FTP_SITE" ) or die "Can't connect: $@";
instead to get a more accurate error message.

Replies are listed 'Best First'.
Re: Re: Re: NET::FTP Package
by Zitoune (Beadle) on Nov 21, 2002 at 21:59 UTC
    when i'm printing the $@ it's printing nothing just the CANT CONNECT

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found