FileTransferEnd Event
    
 

Description

Fires when file transfer completes.


Syntax

Private Sub object_FileTransferEnd(Contact, File, ErrorCode, ErrorText)



The FileTransferEnd Event syntax has these parts:

Part Description
object A wodXMPP object.
Contact A XMPPContact object. Reference to contact that is sending/receiving the file. Can be NULL (Nothing in VB).
File A XMPPFile object. Reference to file that was sent/received.
ErrorCode A Long value. Holds error code, if any.
ErrorText A 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.