473,322 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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.
Jul 14 '06 #1
3 5167
ma*****@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

Stefan
Jul 14 '06 #2
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 [st******************@web.de] wrote:
ma*****@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

Stefan
Jul 14 '06 #3
Stefan Behnel [st******************@web.de] wrote:
>ma*****@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
ma*****@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
Jul 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Krzysztof Pa¼ | last post by:
Hi, I want to make simple client in phyton, which would be able to communicate with Java server using SSL sockets. There is the Java clients, which is doing this - so I'm pretty sure, that Java...
1
by: Justin Stockton | last post by:
I recently upgraded from ActivePython 2.2.2 to ActivePython 2.3.2 and I'm running into an issue importing the win32com.client module. Before installing the new version, I made sure to properly...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
6
by: Gary Kshepitzki | last post by:
Hello I am trying to send an event from a Python COM server to a VB (or VB.NET) COM client. I am a newbie both in VB and in python. Can anyone give me a simple (but complete) code example both of...
3
by: evelyne0510 | last post by:
Hi all, I have created a XML-RPC model (with server and client) written in Java. I want to call the methods in another XML-RPC model written in Python. I know that in Java, I can use like...
3
by: PurpleServerMonkey | last post by:
First off I'd like to ask if anyone knows of a multi-threaded Open Source TFTP Server class written in C#? I don't really want to re-invent the wheel but after searching the net for sometime I...
1
by: vc4free | last post by:
Hello Everyone, I am trying to write a simple program to download files from tftp server, but I am have a very difficult time doing so because I am very very new to python. I have...
6
by: 7stud | last post by:
My question pertains to this example: #!/usr/bin/env python import socket, sys, time host = sys.argv textport = sys.argv s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
1
by: unknown198790 | last post by:
actually i created tftp server.server was created successfully but when i try to execute the following it say file not found tftp 192.168.0.1 tftp> put j.txt error code 1: file not found tftp...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.