new(host = nil, user = nil, passwd = nil, acct = nil) public

Creates and returns a new FTP object. If a host is given, a connection is made. Additionally, if the user is given, the given user name, password, and (optionally) account are used to log in. See #login.

Show source
Register or log in to add new notes.