The Python code you showed was implementing an FTP server. That's a completely different protocol from TFTP. There are TFTP implementations for Pythong. This one works well: https://github.com/msoulier/tftpy
I didn't know the difference of FTP and TFTP so... I thought TFTP was just a FTP without username and password! LOL! ;)
I'm sorry for my "bad post" and thanks to show me the Python implementation! :)
-- Grant
Regards. ^Bart -- https://mail.python.org/mailman/listinfo/python-list