method

open

v2_4_6 - Show latest stable - Class: Net::FTP
open(host, *args)
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.