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
1 answer

TFTP server on Linux

I'm looking for an example of an FTP server running on Linux platform. I know that there is an application on windows tftpd32 which combines multiple servers such as TFTP DHCP and DNS. I then asked the following question: Is it always the case for…
Mely
  • 317
  • 2
  • 4
  • 16
0
votes
1 answer

BufferedOutputStream not writing everything to file

I trying to create a TFTP server but when it receives a file it seems that not all of it is saved on to the server (some bytes are missing). The file is created fine and the majority of data is written but as the file is not complete it is classed…
DMo
  • 591
  • 2
  • 6
  • 13
0
votes
1 answer

tftp PUT fail with TFTPD32 (atftp, and tftp works)

I configure tftpd on my embedded system with command: # udpsvd -E 0 69 tftpd -c /flash0/app/Binary/ Everything works fine when I use linux apps (tftp, atftp) as clients. But with windows tool (TFTPD32 by Ph.Jounin) - preffered in company I can't…
Bartlomiej Grzeskowiak
  • 1,009
  • 5
  • 16
  • 35
-1
votes
2 answers

export attempt in mikrotik with python

I am trying to export some files to my local pc with python, i tried several alternatives and i got several errors, but i got stuck on this error, couldn't find the cause, does anyone have any ideas? I was seeing that it is entered by tftp, but I…
mayra
  • 11
  • 3
-1
votes
1 answer

How to create a custom char in c?

I have to create a request datagram (RRQ) for a Tftp client like this: But i can't use a struct because the fields have variable length. i tried the struct and something iterating on a char.
TusMuela
  • 3
  • 2
-1
votes
1 answer

Copying files to mmc device from bootmenu

I want to copy files to mmc device over the network using TFTP. I know that we can switch to the mmc device using "mmc dev" command at U-boot prompt. After switching to the mmc device, I need to copy the files to the mmc device over the network…
Ravi A
  • 421
  • 2
  • 9
  • 21
-1
votes
1 answer

How to get the TFTP server address from the DHCP configuration

I need to find out the address of the TFTP server that is specified in the DHCP configuration. When the PC is started on, the computer receives the IP address via DHCP, then downloads the image from the PXE server. During the download of the…
-1
votes
1 answer

How to automate Cisco ios switch running-config backup to tftp server using ansible

I have tried ios_command module to run command "copy running-config tftp" Next I have to provide ip of tftp server. Followed by destination file name. I have tftp server running and I have ip address of it. But to provide the ip address and file…
-1
votes
1 answer

TFTP fails: server error "unknown option"

i am trying to get or put with TFTP protocol. I set the TFPT server and everything worked but stopped working lately. I am able to connect to the server but am getting an error "unknown option -?" when inspecting the Syslog. When running Tcpdump i…
-1
votes
1 answer

curl tftp transfer timeout

I'm using libcurl 7.25 version, and I have used curlopt_low_speed_limit and curlopt_low_speed_time options to limit the tftp transfer time. But the curl does not timeout within the specified time and my program remains there. I made sure the…
foo_l
  • 591
  • 2
  • 10
  • 28
-1
votes
1 answer

Tftp commands implementation to fetch remote data in a local ring buffer

I was looking for an implementation using tftp command sets which can fetch data from a remote server but instead getting data completely as a whole, it fetches the data in a local ring buffer of size lesser than the remote file size and it…
Shashish Chandra
  • 489
  • 2
  • 5
  • 20
-1
votes
2 answers

Fail to load ip_conntrack_tftp in iptables

sytemd says: iptables: Loading additional modules: ip_conntrack_tftp [FAILED] I didn't find any solutions for Centos7. For Centos prior to 7 it seems to work without problems. lsof etc. doesn't exit for Centos7. Tftp server works, but there are…
Uwe Manzke
  • 43
  • 5
-1
votes
2 answers

Multi-threaded TFTP Server - Issue With pthreads

I created a simple tftp server that only handles read requests (RRQ). Everything was working fine until I started to make a multi-threaded version of the server. In the application, I simply receive requests in the main thread and I then forward the…
user3490561
  • 446
  • 3
  • 8
  • 20
-1
votes
1 answer

Apache commons tftp client, detecting not responding server

I wrote a simple TFTP client in Java, using org.apache.commons.net.tftp.TFTPClient. As server for testing i use tftpd64 and while it's running, everything works fine. But when there isn't any server running, functions sendFile() and receiveFile()…
KrzysztofW
  • 57
  • 4
-1
votes
1 answer

TFTP Server not receiving from Client

I am developing a TFTP Server using C++. The problem is that I cannot receive or at least I do not see anything in the receiving buffer when I use a TFTP Client Demo (HS TFTP) which is available over the internet. I can 'sense' that my app is…
SpcCode
  • 887
  • 2
  • 13
  • 24
1 2 3
14
15