Tftpy, a pure Python TFTP Library / News: Recent posts

0.5.0 Released

I have released 0.5.0, after rewriting the protocol state machine. Uploads and downloads are now fully supported.

See this site, github or pypi for downloads.

Posted by Michael P. Soulier 2010-05-10

Imminent overhaul

I've decided that the state handling in tftpy is too difficult to maintain, and I'm ditching it. I've started that work in a private branch in Git.

First though, I'm going to merge all of the contributed patches into an experimental branch and push that to github. I'll then rebase my state-machine branch on that and keep going.

It's a big rewrite, so expect breakage in the short term. Contributed unit tests are welcome, I really need to flesh those out. ... read more

Posted by Michael P. Soulier 2009-04-09

New fabian-patches branch on github

Fabian Knittel contributed some helpful patches for robustness and security. I need to take a closer look at them, but for now they're living on a branch at github. See the "fabian-patches" branch if you want to check them out.

Posted by Michael P. Soulier 2008-12-21

SVN disabled

I've gotten tired of the git-svn thing, and made some mistakes with it, and just moved entirely to Git. So, see for the project source if you wish to contribute.

Cloning is as simple as
"git clone git://"


Posted by Michael P. Soulier 2008-10-06

Mirroring SVN to Github

I'm not Subversion's biggest fan, although compared to many it's a huge improvement. That said, I prefer distributed version control, and lately I've become a fan of Git. I'm experimenting with git-svn, and I've pushed a copy of the repository to github.

Clone from here: git://

Posted by Michael P. Soulier 2008-06-29

Release 0.4.5

About Release 0.4.5:

Bugfix release for compatability issues on Win32, among other small issues.

Posted by Michael P. Soulier 2008-05-29

Release 0.4.4

About Release 0.4.4:

Bugfix release for poor tolerance of unsupported options in the server.

Posted by Michael P. Soulier 2008-01-31

Release 0.4.3

About Release 0.4.3:

Buxfix release for an issue with the server's detection of the end of the file
during a download.

Posted by Michael P. Soulier 2007-07-17

Release 0.4.2

This release is a bugfix release for some installation problems with Python < 2.5. Thanks for the bug reports, keep them coming.

Posted by Michael P. Soulier 2007-06-05

Release 0.4.1

About Release 0.4.1:

This is a bugfix release to fix the installation path, with some restructuring into a tftpy package from the single module used previously.

Posted by Michael P. Soulier 2006-12-17

Release 0.4

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.

Posted by Michael P. Soulier 2006-12-16

Release 0.3

This release fixes a major RFC 1350 compliance problem with the remote TID. Enjoy.

Posted by Michael P. Soulier 2006-12-09

Release 0.2

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.

Posted by Michael P. Soulier 2006-10-05

A beginning

SF just approved the hosting, and here we are. The code currently in SVN has a working client, with fixed 512 byte block sizes. I'm adding support for variable block sizes, and a server. At some point I might put in support for Twisted.

Posted by Michael P. Soulier 2006-10-03

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks