Connects to the specifified FTP host. The default FTP Port (21) is used.

Namespace:  KetLabs.FTP
Assembly:  Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)

Syntax

C#
public void Connect(
	string host
)
Visual Basic (Declaration)
Public Sub Connect ( _
	host As String _
)
Visual C++
public:
void Connect(
	String^ host
)

Parameters

host
Type: System..::.String
Host address to connect to.

Exceptions

ExceptionCondition
System.Net..::.WebExceptionThrown in case of a network error

See Also