⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Net
/
FTP
/
Edit File: new-c.ri
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"use_pasv_ip;T; [o; ; [I"8When +true+, use the IP address in PASV responses. ;TI"<Otherwise, it uses the same IP address for the control ;TI"#connection. Default: +false+.;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@}TI"FTP;TcRDoc::NormalClass00
Simpan