2.1.4.3 File Transfer Events

The file transfer engine transmits events to the xfNotifyProc function involving connections, file transfers, the user interface, and user actions at both ends of the connection. These constants describe the events that occur:

Value

Meaning

XFN_CONNECTION_ABORT

Connection abnormally terminating.

XFN_CONNECTION_END

Connection normally closing.

XFN_CONNECTION_START

Connection starting.

XFN_FILE_ABORT

File transfer abnormally terminating.

XFN_FILE_BLOCK

Transfer of one block of data complete.

XFN_FILE_END

File transfer normally closing.

XFN_FILE_START

File transfer starting.

XFN_TRANSFER_ABORT

Transfer abnormally terminating.

XFN_TRANSFER_ACCEPT

The receiver is notified that the transfer is accepted.

XFN_TRANSFER_CONFIRMED

The sender is notified that the transfer is confirmed.

XFN_TRANSFER_DECLINED

The send is notified that the transfer is declined.

XFN_TRANSFER_END

Transfer normally closing.

XFN_TRANSFER_START

Transfer starting.

XFN_TRANSFER_REFUSE

The receiver is notified that the current application declined the transfer.

XFN_UI_CONNECT

User interface connect notification.
See dwParam for meaning.

XFN_UI_CONFIRMTRANSFER

Transfer about to start.
The receiver's notification procedure should ask the user to confirm acceptance of transfer when notification is received.

Return TRUE if transfer is OK, FALSE if not.

XFN_UI_DISCONNECT

User interface disconnect notification.
See dwParam for meaning.

XFN_UI_TRANSFER

User interface transfer notification.
See dwParam for meaning.