Questions tagged [tftp]

Trivial File Transfer Protocol (TFTP) is a file transfer protocol notable for its simplicity.

TFTP is a very simple and lightweight file transfer protocol.
It only supports to read and to write files from/to a remote. Even a directory listing is not supported. It is sometimes used to boot devices without data storage or to update firmware.
TFTP is build on top of UDP and using port 69.

215 questions
0
votes
0 answers

QT QProcess cmd & tptf

I'm trying to run the windows shell from my qt program and, from there, run a tftp command ... I'm documenting a bit 'but I do not understand what is wrong. First of all i want to say that the device connected with my computer is correctly…
Nic
  • 163
  • 3
  • 19
0
votes
1 answer

Get file with Net::TFTP in Perl

I want my code to do the following: if a certain file can be found on a server, I want to get it and save it to a text file. If it can't be found, I want to save to another text file. How can I do this? This is my code: #!/usr/bin/perl use…
0
votes
1 answer

error code 1024 tftp server

I am writing a tftp server in C and testing it with the tftp command on the terminal. However, for most of the times, I receive something liske the following when I try to send RRQ: tftp> get a.txt sent RRQ received ERROR…
0
votes
1 answer

Kill tftp command that's running in subshell

I'm running the following command in Linux: sudo ./tftpCommand & where my executable tftpCommand file simply gets/puts a data file which sometimes does not exist. I want to be able to stop the tftp command that was spawned in the subshell before it…
Erik
  • 1,196
  • 2
  • 9
  • 18
0
votes
1 answer

Benign but malformed packet showing up during TFTP transfer

I have, what looks to be, malformed packets showing up during a routine TFTP transfer. These packets do not seem to be causing any issue with the transfer as all data is received and later hashed to a correct value, however I am stumped on what…
Lee Toffolo
  • 134
  • 1
  • 1
  • 10
0
votes
0 answers

Processing tftp directory listing in shell script (bash)

I would like to process a directory listing from a ftp server. At the end of the day I would like to delete old files on the ftp server, but I'm not there yet. I have problems to interpret the lines from the directory listing. I'm a newbie in shell…
ubee
  • 27
  • 6
0
votes
3 answers

Python byte array to integer conversion (TFTP Client)

I am trying to set up a TFTP client using Python 2.7. Problem is when I receive data packet, it is in the form of byte array of integers. For example: '\x03\x00\x01'. I want to convert each byte of byte array string to corresponding integer value. I…
raja
  • 380
  • 2
  • 9
  • 20
0
votes
1 answer

Python..How to change from raw jpeg string to a file format

I am currently working on a python school project where I have to receive packets from tftp server and write them to a jpg file I managed to receive all the packets and store all of them into a string where the string looks this…
0
votes
1 answer

TPTP client on Linux Machine

I am trying to copy a text file from a Linux Server to a Windows server 2008 Machine. I have setup a Trivial File Transfer (TFTP) server on the Windows machine. I would like to know if i need any TFTP client installed on the Linux server in order to…
Chetan
  • 1
  • 3
0
votes
1 answer

Get file size from TFTP Server using JAVA without downloading the file

Is there a way to get the file size on a TFTP server without downloading the file. I want an JAVA API for the same if available. I tried TFTPClient, but it does not support. Note: I am able to get the file size on local tftp server, but not on the…
user2503105
  • 21
  • 1
  • 3
0
votes
1 answer

dnsmasq: failed to create listening socket for xxx.xxx.xxx.xxx: Address already in use

when i try to start the dnsmasq, I meet the problem dnsmasq:failed to create listening socket :address already in use.It may be this below process prevent the dnsmasq, but i do not know how to stop this process. After i kill this process, it will…
fangxian
  • 1
  • 3
0
votes
1 answer

Can I use WCF to get data from a device using tftp(UDP)?

I need to know if I can create a WCF service using TFTP to get data from a device. I know I can create an application using C# to do this but I am trying to make it a web based application. Also the WCF needs to be hosted on IIS. I want to use a…
Viper
  • 3
  • 3
0
votes
1 answer

Second time TFTP PUT opearation doesnt work after GET/PUT opearation is successfully finished first time on TFTP client side

Implementing the TFTP client over UDP socket. First I create the UDP non blocking socket and perform the PUT/GET operation it works fine. But when again I try to perform the GET/PUT it does not work. The RRQ/WRQ request itself is not reaching to the…
Rathore
  • 1
  • 2
0
votes
1 answer

runnibg tftp command on Ubuntu

So i have one embedded platform Zedboard upon which i am able to run the Xilinx Linux.Also in mine board i have enabled the wifi interface and also i have busybox application in mine root file system and when i typd the command busybox it shows the…
0
votes
1 answer

How to make those 2 commands work together in one bash line?

I would like to connect via tftp with: tftp Server_IP Port THEN to get a file from the server with: get filename.txt The server I'm trying to connect to in FreeBSD, here is doc about the FreeBSD tftp client here I want to make those two commands in…
adrTuIPKJ44
  • 2,793
  • 2
  • 9
  • 8