http://qs1969.pair.com?node_id=1165205


in reply to Re^2: Net::FTP
in thread Net::FTP

Hi,

I am trying to implement this $ftp->login.
But if the login is unsuccessful, I am getting the following error message and program gets terminated.
Uncaught exception from user code: Cannot login Login incorrect.

Is there any way to catch / handle this unsuccessful login, so that the program can continue?