method

open

Importance_1
Ruby latest stable (v1_8_7_72) - 0 notes - Class: Net::FTP
open(host, user = nil, passwd = nil, acct = nil) public

A synonym for FTP.new, but with a mandatory host parameter.

If a block is given, it is passed the FTP object, which will be closed when the block finishes, or when an exception is raised.

Show source
Register or log in to add new notes.