The event handler receives an argument of type BytesTransferredEventArgs containing data related to this event. The following BytesTransferredEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ByteCount | Gets the byte count. |
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running. |
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread. |
RemoteDirectory | Remote directory of file being transferred, or directory being listed. |
RemoteFile | The name of the file being transferred, or the name of the directory if it is a directory listing. |
RemotePath | Remote path of file being transferred, or directory being listed. |
ResumeOffset | If a transfer was resumed then this property will return the byte-offset from which the transfer starts. |
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only). |
IFileTransferClient Interface | EnterpriseDT.Net.Ftp Namespace