Connect to the FTP server.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public virtual void Connect()
Visual Basic
Public Overridable Sub Connect
Visual C++
public:
virtual void Connect()

Implements

IFileTransferClient..::..Connect()()()()

Remarks

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.

See Also