Connects to the FTP server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function Connect ( _
	serverName As String _
) As String
C#
public string Connect(
	string serverName
)

Parameters

serverName
Type: System..::..String
The server address - either a hostname or a dotted string address.

Return Value

Welcome message returned by the server.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also