Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: NET::FTP Package

by insensate (Hermit)
on Nov 21, 2002 at 17:03 UTC ( #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
Node Status?
node history
Node Type: note [id://214819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-11-29 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?