method
new2
v1_9_3_392 -
Show latest stable
- Class:
URI::FTP
new2(user, password, host, port, path, typecode = nil, arg_check = true)public
alternate initialization Creates a new URI::FTP object.
Unlike build(), this method does not escape the path component as required by RFC1738; instead it is treated as per RFC2396.
Arguments are user, password, host, port, path, typecode, and arg_check, in that order.