Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: ftp attempt

by gav^ (Curate)
on Sep 10, 2002 at 12:06 UTC ( #196635=note: print w/replies, xml ) Need Help??


in reply to ftp attempt

The docs mention:
If the constructor fails undef will be returned and an error message will be in $@
If you change your code to:
$ftp = Net::FTP->new("myserver@here.com", Debug => 1) || die "Unable to connect: $@\n";
Hopefully the error message will help.

gav^

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://196635]
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-12-17 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (463 votes). Check out past polls.

    Notices?