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,
	string path
)
Visual Basic (Declaration)
Public Sub Connect ( _
	host As String, _
	path As String _
)
Visual C++
public:
void Connect(
	String^ host, 
	String^ path
)

Parameters

host
Type: System..::.String
Host address to connect to.
path
Type: System..::.String
Remote folder name

Exceptions

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

See Also