473,772 Members | 3,665 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5223
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
5434
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 server works OK. I've heard, that P2.3 has SSL support included in himself and also, I was trying P2.2 with pyOpenSSL wrappers and extensions, but unsuccesfuly... So, could you give me a few lines of python code which makes such things:
1
5193
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 remove old version (as well as the mx libraries I had installed). I then installed the new version as a user with the Administrator role. I know I'm technically not supposed to install to a directory with a space in the name, but it worked fine for...
15
4491
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 computations, the only data transfered is user mouse/kbd input. It works synchronously, but somehow, when I play in client window, both client and server have 17 fps, while when playing in server window, server has 44 fps while client ...
6
2571
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 the Python server side and the VB client side for raising a single event. Any answer would be highly appreciated. Regards Gary
3
3738
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 "xmlrpc_client.excute("handler_name.method", param)" to call the methods in my xml-rpc server written in java. But how can I call the methods in Python? I cannot creat a handler in my Python XML-RPC server.....
3
7219
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 haven't been able to find an existing TFTP Server class that provides read and write functionality. As an existing class hasn't been found I've started to write my own and wanted to seek the groups opinion.
1
3385
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 downloaded the tftpy-0.4.3 which have the TftpClient module and other good stuff, but I do not not know how to go about using python to connect to Tftp server Thank in advance for any help in pointing me in the right direction to get this thing...
6
4923
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
10285
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 can any one help me server was created in linux
0
9620
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.