Login to the remote server.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
The Login method identifies the user to the remote server. If the user name or password is invalid, an error will occur. By default, when a connection is established, the UserName, Password and Account properties are used to automatically log the user in to the server. This method is typically used if you wish to log in as another user during the same session.
FtpClient Class | SocketTools Namespace | FtpClient.Login Overload List