2.2.3.5 Closing a Connection

When the file transfer application is finished with a connection, it uses the xfDisconnect function call to close the connection. An xfDisconnect function call should accompany each xfConnect call in the orderly operation of a file transfer application. If a file transfer is in progress when the application makes the xfDisconnect call, an implicit xfAbortTransfer function call occurs. After the xfDisconnect function call, the connection no longer is available for file transfers.