TFTP Client API
Table of Contents >> Application Reference
The TFTP Client Application Program Interface allows the user to retrieve files from and store files to a remote TFTP server.
User Interface
The user interface allows the user to get and put files from a remote TFTP server.
Five calls are provided in the TFTP Client User Interface.
tfTftpGet() Called by the user to get a file from a TFTP server. tfTftpInit() This function must be called before any other TFTP API calls are made. It initializes various data associated with the TFTP client. tfTftpPut() Called by the user to store a file to a TFTP server. tfTftpSetTimeout() Called by the user to set timeout and retry values. tfTftpUserExecute() If the stack is running in non-blocking mode, this function must be called periodically in order to get the client to execute. In blocking mode, this function should not be called.
- Blocking Mode
- Non-Blocking Mode
- In non-blocking mode, calls to tfTftpGet() and tfTftpPut() will return immediately. tfTftpUserExecute() must be called periodically to cause them to execute. Choose non-blocking mode if you are not using an RTOS/Kernel.