Python TFTP library
Copyright, Michael P. Soulier, 2010.
Maintenance release to fix a couple of reported issues.
Maintenance release to fix several reported problems, including a rollover at 2^16 blocks, and some contributed work on dynamic file objects.
Maintenance update to fix several reported issues, including proper retransmits on timeouts, and further expansion of unit tests.
Maintenance update to fix a bug in the server, overhaul the documentation for the website, fix a typo in the unit tests, fix a failure to set default blocksize, and a divide by zero error in speed calculations for very short transfers.
Also, this release adds support for input/output in client as stdin/stdout
Complete rewrite of the state machine. Now fully implements downloading and uploading.
Feature release to add the tsize option. Thanks to Kuba Kończyk for the patch.
Bugfix release for compatability issues on Win32, among other small issues.
Bugfix release for poor tolerance of unsupported options in the server.
Bugfix release for an issue with the server’s detection of the end of the file during a download.
Bugfix release for some small installation issues with earlier Python releases.
Bugfix release to fix the installation path, with some restructuring into a tftpy package from the single module used previously.
This release adds a TftpServer class with a sample implementation in bin. The server uses a single thread with multiple handlers and a select() loop to handle multiple clients simultaneously.
Only downloads are supported at this time.
This release fixes a major RFC 1350 compliance problem with the remote TID.
This release adds variable block sizes, and general option support, implementing RFCs 2347 and 2348. This is accessible in the TftpClient class via the options dict, or in the sample client via the –blocksize option.
This is an initial release in the spirit of “release early, release often”. Currently the sample client works, supporting RFC 1350. The server is not yet implemented, and RFC 2347 and 2348 support (variable block sizes) is underway, planned for 0.2.
Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347, 2348 and the tsize option from RFC 2349.
Python 2.3+, hopefully. Let me know if it fails to work.
License is the MIT License
See COPYING in this distribution.