Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-08-2003, 09:48 AM   #1
Registered: Jun 2002
Distribution: RH 7.3
Posts: 30

Rep: Reputation: 15
Problem using put with TFTP


I'm having problem putting a file onto the TFTP server on Redhat LInux 7.3. Every time I trying putting a file with the put command, I get a "Error code 1: file not found". (I am able to get files fine!).

# tftp tftp_server
tftp> get test.txt
Received 11 bytes in 0.0 seconds
tftp> put test2.txt
Error code 1: File not found
tftp> quit

(The test2.txt file on my current directory)

My /etc/inetd.d/tftp file looks like:

# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2

Does anyone know what I am missing? Is there some security/access that needs to be configure?

Thanks in advance.
Old 09-12-2003, 08:40 AM   #2
LQ Newbie
Registered: Sep 2003
Location: Hamburg,Germany
Distribution: RedHat 9 (7.3 on some Boxes)
Posts: 1

Rep: Reputation: 1
Re: Problem using put with TFTP

Originally posted by LinuxQuest01

by default, tftpd will only allow upload of files that already exist.
(see the man pages ;-) but -c will do the job.

You could try

server_args = -c -s /tftpboot

in /etc/inetd.d/tftp

This works for me.

1 members found this post helpful.
Old 03-22-2012, 04:58 AM   #3
Registered: Jan 2008
Distribution: SOLARIS 9, RHEL4
Posts: 39

Rep: Reputation: 0
Thumbs up


same problem, and with the "-c" option all works fine.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TFTP-Server Problem tomcat22 Slackware 1 11-17-2005 02:54 PM
TFTP problem regarding local socket dhartnett35 Linux - Networking 3 02-15-2005 07:31 AM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM
TFTP Problem? it will not work! m1anh Linux - General 1 02-02-2003 04:24 AM
deam tftp listen problem saavik Linux - Networking 1 01-01-2003 11:25 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration