login

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).

doc_ruby_on_rails
2015-04-20 14:11:07
Comments
Leave a Comment

Please login to continue.