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