Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: NET::FTP Package

by Zitoune (Beadle)
on Nov 21, 2002 at 16:10 UTC ( #214805=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?