Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileTransferClient.Connect Method

Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9147)

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.

In This Article
  • Connect(String, FileTransferMode)
  • Connect(String, Int32, FileTransferMode)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies