http://www.perlmonks.org?node_id=379551


in reply to Net::FTP Won't Log In, But Does the Second Time

How about setting Debug to a non-zero value and see whats printed to the terminal?