FileTransferClient.Connect Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9119)
Connect(String, FileTransferMode)
Connects to the server using chosen protocol.
Declaration
public void Connect(string serverName, FileTransferMode transferMode)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string IP address. |
FileTransferMode | transferMode | Which protocol will be used for communication to the server. |
Connect(String, Int32, FileTransferMode)
Connects to the server using chosen protocol.
Declaration
public void Connect(string serverName, int serverPort, FileTransferMode transferMode)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | The server address - either a hostname or a dotted string IP address. |
Int32 | serverPort | The server port (e.g. 21). |
FileTransferMode | transferMode | Which protocol will be used for communication to the server. |