login(user = "anonymous", passwd = nil, acct = nil)
Instance Public methods
Logs in to the remote host. The session must have been previously
connected. If user is the string âanonymousâ and the
password is nil, a password of
user@host is synthesized. If the acct parameter
is not nil, an FTP ACCT command is sent
following the successful login. Raises an exception on error (typically
Net::FTPPermError).