C
void TFTPCloseFile();
Description
If file is opened in read mode, it makes sure that last ACK is sent to server If file is opened in write mode, it makes sure that last block is sent out to server and waits for server to respond with ACK.
Preconditions
TFTPOpenFile() was called and TFTPIsFileOpened() had returned with TFTP_OK.
Returns
None
Side Effects
None
Remarks
TFTPIsFileClosed() must be called to confirm if file was really closed.