2.2.3.3 Receiving over a Connection

When a remote machine attempts to send files, the file transfer engine calls the application's xfNotifyProc with XFN_UI_CONFIRMTRANSFER. If the application wants to receive the files, it should return 1. It will then get an XFN_TRANSFER_ACCEPT notification. The application should call xfReceive to specify the directory for the received file and begin the transfer process. At any time, the application can use the xfGetStatusText and xfGetStatusLong functions to retrieve information associated with the transfer.