Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Net/FTP/new-c.ri
Arrière
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::BlankLine o; ; [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"<If options[:ssl] is true, then an attempt will be made ;TI">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"<See Net::FTP#open_timeout for details. Default: +nil+.;To;;[I"read_timeout;T; [o; ; [I"9Number of seconds to wait for one block to be read. ;TI";See Net::FTP#read_timeout for details. Default: +60+.;To;;[I"ssl_handshake_timeout;T; [o; ; [ I"+Number of seconds to wait for the TLS ;TI"handshake. ;TI",See Net::FTP#ssl_handshake_timeout for ;TI"details. Default: +nil+.;To;;[I"debug_mode;T; [o; ; [I"8When +true+, all traffic to and from the server is ;TI"-written to +$stdout+. Default: +false+.;T: @fileI"lib/net/ftp.rb;T:0@omit_headings_from_table_of_contents_below0I",Net::FTP.new(host = nil, options = {}) ;T0[ I"A(host = nil, user_or_options = {}, passwd = nil, acct = nil);T@tTI"FTP;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages