Rebex FTP/SSL for .NET

Ftp.Connect Method (String, Int32)

Connects to the FTP server.

public string Connect(
   string serverName,
   int serverPort
);

Parameters

serverName
The server address - either a hostname or a dotted string address.
serverPort
The server port (eg. 21).

Return Value

The welcome message returned by the server.

See Also

Ftp Class | Rebex.Net Namespace | Ftp.Connect Overload List