TFTP Error

Will McDonald wmcdonald at gmail.com
Wed Jan 25 14:01:31 UTC 2006


On 25/01/06, Matthew Goh <chernhup at hotmail.com> wrote:

> Next I attempt to send a file(test.sxw) to the destination node at the Home
> folder under the file name test2.sxw
>
> tftp> put test.sxw /home/test2.sxw
>
> However upon doing so, I got the following error message:
> Error code 1: File not found

>From the in.tftpd man page...

       -c     Allow  new  files  to  be created.  By default, tftpd will only
              allow upload of files that already exist.   Files  are  created
              with default permissions allowing anyone to read or write them,
              unless the -p or -U options are specified.

Either touch the filename first. Or assuming your tftpd's running on a
Redhat box under xinetd you'll need to edit /etc/xinet.d/tftp and add
-c to server_args to allow file creation. Even then, tftpd will
probably only allow you to create files under its root directory,
specified with -s.

You DON'T want to change this unless you understand the implications.
Have a read through the man page.

Will.




More information about the redhat-list mailing list