U:RDoc::AnyMethod[iI"new:ETI"Net::FTP::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"PCreates and returns a new +FTP+ object. If a +host+ is given, a connection ;TI" is made.;To:RDoc::Markup::BlankLineo; ; [I"@+options+ is an option hash, each key of which is a symbol.;T@o; ; [I"The available options are:;T@o:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I" port;T; [o; ; [I"&Port number (default value is 21);To;;[I"ssl;T; [o; ; [ I"to use SSL (now TLS) to connect to the server. For this ;TI"8to work OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] ;TI"=extensions need to be installed. If options[:ssl] is a ;TI">hash, it's passed to OpenSSL::SSL::SSLContext#set_params ;TI"as parameters.;To;;[I"private_data_connection;T; [o; ; [I"0If true, TLS is used for data connections. ;TI"0Default: +true+ when options[:ssl] is true.;To;;[I" username;T; [o; ; [I">Username for login. If options[:username] is the string ;TI"6"anonymous" and the options[:password] is +nil+, ;TI"("anonymous@" is used as a password.;To;;[I" password;T; [o; ; [I"Password for login.;To;;[I" account;T; [o; ; [I""Account information for ACCT.;To;;[I" passive;T; [o; ; [I">When +true+, the connection is in passive mode. Default: ;TI" +true+.;To;;[I"open_timeout;T; [o; ; [I";Number of seconds to wait for the connection to open. ;TI"