NetBurner 3.5.0
PDF Version
 
Simple FTP Server (FTPD)

Simple example of a FTP server implementation without a file system. It can be very useful for a lightweight method to download system information and data, and upload configuration information. Interaction with the FTP server in an application is accomplished using callback functions to handle events, such as listing the files, sending a file, and receiving a file. Please refer to the additional FTP examples for use with a file system.

  • Status messages and data are sent out the debug serial port and can be viewed with a terminal such as mttty.
  • Enables the FTP client to download a file named ReadFile.txt. While this is fixed content, it can contain whatever dynamic content you wish.
  • Enables the FTP Client to upload an ASCII text file named WriteFile.txt. The file is not stored in memory, but is sent out the debug serial port.