public virtual void Connect()Public Overridable Sub Connectpublic:
virtual void Connect()abstract Connect : unit -> unit
override Connect : unit -> unit The RemoteHost property must be set prior to calling this method. This method must be called before Login(String, String) or User(String) is called.
This method will throw an FTPException if the client is already connected to the server.