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

Re: Net::Ftp->login problem

by nimdokk (Vicar)
on Oct 31, 2007 at 12:07 UTC ( [id://648230]=note: print w/replies, xml ) Need Help??


in reply to Net::Ftp->login problem

I'm going to reiterate the comment someone else made: enable the debug mode. It can be very helpful with figuring out what is wrong. To enable debug mode, simply use the following line:

$ftp=Net::FTP->new("$host",Timeout=>240,Debug=>1) or die "connect\n";
Also, I would recommend looking at the logs from the server you are attempting to connect to. If you do not have access to these logs, kindly ask your friendly neighborhood sysadmin to help you out.

Replies are listed 'Best First'.
Re^2: Net::Ftp->login problem
by KianTern (Acolyte) on Oct 31, 2007 at 12:12 UTC
    Thank you all but I guess problem was not from my side now everything (almost) works as it should

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found