Back to product page

FileTransferEnd event


Fires when file transfer completes.

Syntax

  • Basic
Private Sub object_FileTransferEnd (ByRef Contact, ByRef File, ByVal ErrorCode, ByVal ErrorText)
The FileTransferEnd(Contact,File,ErrorCode,ErrorText) syntax has these parts:
ContactXMPPContact object
FileXMPPFile object
ErrorCodeA Long value. Holds error code, if any.
ErrorTextA String value. Holds text description of the error, if any.

Remarks

This event will be triggered when file transfer completes. If all was ok and file transfer succeeded, ErrorCode will be set to 0. If error occurred, you will see ErrorCode set. After this event is fired, File object will be removed from the collection and object destroyed.

Platforms

Windows