Method FTPClient2():new() Foundation
Initialize a new FTP client instance.
:new( <cUrl>, [<cUsername>], [<cPassword>], [<cProxyUrl>] ) --> self
This method returns self.
Creates and initializes a new FTP client instance for connecting to the specified server.
If a username and password is given, these credentials will be used to authenticate the specified user when connecting to the server using :connect(). When username and password are not specified, anonymous FTP login is used.
After creating the instance, you can set additional options using :setOption() before establishing the connection with :connect().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.