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