TFTP client in python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • malahal@us.ibm.com

    #1

    TFTP client in python

    Is there a TFTP client python module? I just need "get file" feature.
    I came across two implementations on WEB, but they are kind of
    unfinished (got the code from some mailing list!).

    Thanks, Malahal.
  • Stefan Behnel

    #2
    Re: TFTP client in python

    malahal@us.ibm. com wrote:
    Is there a TFTP client python module? I just need "get file" feature.
    I came across two implementations on WEB, but they are kind of
    unfinished (got the code from some mailing list!).
    Second hit in Google ("tftp python"):



    Stefan

    Comment

    • malahal@us.ibm.com

      #3
      Re: TFTP client in python

      I saw that in Google too! It is server centric and I was looking for
      client specific code. The code also doesn't compile due to white space
      issues. If this is the best available, I will have to get dirty in
      Python!

      Thanks, Malahal.

      Stefan Behnel [stefan.behnel-n05pAM@web.de] wrote:
      malahal@us.ibm. com wrote:
      Is there a TFTP client python module? I just need "get file" feature.
      I came across two implementations on WEB, but they are kind of
      unfinished (got the code from some mailing list!).
      >
      Second hit in Google ("tftp python"):
      >

      >
      Stefan

      Comment

      • Stefan Behnel

        #4
        Re: TFTP client in python

        Stefan Behnel [stefan.behnel-n05pAM@web.de] wrote:
        >malahal@us.ibm. com wrote:
        >>Is there a TFTP client python module? I just need "get file" feature.
        >>I came across two implementations on WEB, but they are kind of
        >>unfinished (got the code from some mailing list!).
        >Second hit in Google ("tftp python"):
        >>
        >http://mail.python.org/pipermail/pyt...ry/024980.html
        malahal@us.ibm. com wrote:
        I saw that in Google too! It is server centric and I was looking for
        client specific code.
        Apparently, it has a client included. Just drop the server class and retry.

        The code also doesn't compile due to white space issues.
        I assume you copied it from the web page. Use the "tabnanny" module to find
        out where the problems are.

        If this is the best available,
        Haven't tested it, so can't tell.

        I will have to get dirty in Python!
        Which is never a bad idea. :)

        Stefan

        Comment

        Working...