in reply to NET::FTP Package

This the error giving to me when he's dying ( CANT CONNECT )
BAD FILE DESCRIPTOR
any idea ??

Replies are listed 'Best First'.
Re: Re: NET::FTP Package
by dree (Monsignor) on Nov 21, 2002 at 16:40 UTC
    Please post the
    perl -v
    output, of both machines.
Re: Re: NET::FTP Package
by insensate (Hermit) on Nov 21, 2002 at 17:03 UTC
    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.
      when i'm printing the $@ it's printing nothing just the CANT CONNECT
Re: Re: NET::FTP Package
by petral (Curate) on Nov 21, 2002 at 17:05 UTC
          any idea ??

    One machine can see  "$G_FTP_SITE",  and the other can't?

      p