This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ A simple ftp server | |
This is my implementation of a FTP server using Github user Neronix's | |
example as inspriration, but as a cleaner Lua implementation that has been | |
optimised for use in LFS. The coding style adopted here is more similar to | |
best practice for normal (PC) module implementations, as using LFS enables | |
me to bias towards clarity of coding over brevity. It includes extra logic | |
to handle some of the edge case issues more robustly. It also uses a | |
standard forward reference coding pattern to allow the code to be laid out | |
in main routine, subroutine order. |