When an error condition occurs that necessitates an abnormal termination of the file transfer, the application uses the xfAbortTransfer function call to terminate the transfer. This function call stops any file transfers in progress on the connection and performs any necessary clean-up procedures for the file transfer engine.