Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Net::Ftp->login problem

by nimdokk (Vicar)
on Oct 31, 2007 at 12:07 UTC ( #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.

Comment on Re: Net::Ftp->login problem
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-10-09 11:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (239 votes), past polls