An NDoc Documented Class Library |

# FTPConnection.Connecting Event

Occurs when the component is connecting to the server.

public event FTPConnectionEventHandler Connecting;

#### Event Data

The event handler receives an argument of type FTPConnectionEventArgs containing data related to this event. The following FTPConnectionEventArgs properties provide information specific to this event.

Property | Description
--- | ---
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running.
IsConnected | Indicates whether or not the client is now connected to the server.
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread.
ServerAddress | Address of server.
ServerPort | FTP port on server.
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only).

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace