Sftp.Connect Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
Connect(String)
Connects to the SFTP server.
Declaration
public void Connect(string serverName)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string address. |
Connect(String, Int32)
Connects to the SFTP server.
Declaration
public void Connect(string serverName, int serverPort)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string address. |
Int32 | serverPort | The server port (e.g. 22). |