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


in reply to $ftp not connecting to server

Some servers requires you to send the username and password using user and pass commands.