Commit Graph

25 Commits (b57e583798be5e145f21ad0caf1c5d18f485df2a)

Author SHA1 Message Date
Jay Weisskopf 39b877258b Allow file objects to be used for download output or upload input.
Objects are considered file-like if they have read() or write()
functions. If they do not, they are assumed to be strings to a local
path (existing behavior).
2012-05-03 01:24:25 -05:00
Michael P. Soulier 05e56b66a4 Fixing issue #26, with the server not creating the full path to the filename
being uploaded.
2012-03-10 21:20:01 -05:00
Michael P. Soulier 04aaa2ef9f Fixing issue #3, expanding unit tests. 2011-07-24 17:37:16 -04:00
Michael P. Soulier 40977c6f74 Fixing some pyflakes complaints 2011-07-23 23:28:45 -04:00
Michael P. Soulier add444006c Fixes issue #23, breaking up TftpStates into TftpStates and TftpContexts. 2011-07-23 23:20:53 -04:00
Michael P. Soulier 949c998648 Fixing issue #9, removing blksize option from client if not supplied. 2011-07-23 20:29:06 -04:00
Michael P. Soulier 1caa220a9a Latest doc updates 2010-07-11 21:19:01 -04:00
Michael P. Soulier 402b2ae4c4 Adding initial Sphinx docs 2010-07-11 19:27:49 -04:00
Michael P. Soulier 58623df7d0 Adding support for input/output as stdin/stdout 2010-05-25 21:51:07 -04:00
Michael P. Soulier faebd44978 Fixing buffering issue in upload. Uploads work now. 2010-05-10 16:11:22 -04:00
Michael P. Soulier 781072bfe8 Updated resent_data in metrics. 2009-08-18 22:38:26 -04:00
Michael P. Soulier 3ae3b31bf4 Fixed server metrics summary. 2009-08-18 22:27:18 -04:00
Michael P. Soulier a6a18c178b First successful download with both client and server. 2009-08-16 19:57:11 -04:00
Michael P. Soulier 62b22fb562 Did some rework for the state machine in a server context.
Removed the handler framework in favour of a TftpContextServer used
as the session.
2009-08-16 19:56:06 -04:00
Michael P. Soulier 03e4e74829 Fixing up some of the upload code. 2009-08-16 19:46:44 -04:00
Michael P. Soulier c61ca171db Fixing a merge error in rebase 2009-04-10 23:20:19 -04:00
Michael P. Soulier 5072f6d93c Fixed TftpClient with new state machine. 2009-04-10 23:09:26 -04:00
Michael P. Soulier e7a63bbbc2 Started overhaul of state machine. 2009-04-10 23:07:49 -04:00
Michael P. Soulier 41bf3a25e6 Improving sample client output on error and fixing default blocksize when
server ignores options.
2009-04-10 22:48:51 -04:00
Michael P. Soulier bd2e19529f Merged upload patch. 2009-04-10 21:59:25 -04:00
Michael P. Soulier 07416bf848 Rebased tsize branch and added a --tsize option to the client.
Now sending all packets to the progresshook, not just DAT packets,
so that the client can see the OACK. Not yet making use of the returned
tsize. Need to test this on a server that supports tsize.
2008-10-04 20:42:27 -04:00
Michael P. Soulier 67302801eb Adding upload patch from Lorenz Schori - patch 1897344 in SF tracker 2008-07-30 14:04:01 -04:00
msoulier 596af4075f Fixed division by zero error in rate calculations in download function of
client. Thanks to Stefaan Vanheesbeke for the report. 


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@81 63283fd4-ec1e-0410-9879-cb7f675518da
2008-05-20 02:12:31 +00:00
msoulier d9665e19fc Updating docs for epydoc.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@67 63283fd4-ec1e-0410-9879-cb7f675518da
2007-03-31 02:03:36 +00:00
msoulier 5e6d8fe13f Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@52 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:08:05 +00:00