tftp client error

Avtar Singh s.avtar at gmail.com
Fri Aug 17 05:42:04 UTC 2007


Thanks, Denys. It worked! The file in question had to be made world writable.

On 8/16/07, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> On Thursday 16 August 2007 15:37, Avtar Singh wrote:
> > Hello,
> >
> > I have busybox 1.6.0 running on an embedded system powered by i.MX21
> > (ARM9 core) and running Kernel vanilla 2.6.22 with a few board
> > specific patches. I can do a tftp get from my desktop system connected
> > to the embedded board without any issues. However, tftp put throws up
> > the following error repeatedly:
> >
> > # tftp -p -l sm.txt 222.222.101.117
> > tftp: server error: (1) File not found
>
> Due to security considerations, many tfpt servers allow puts
> only if target file is already exists on server and is world-writable.
>
> It looks like server says "I don't have sm.txt, therefore I won't allow
> you to create one".
>
> > The file is located in the root directory and I am issuing the command
> > from the root directory.
> >
> > I have tried several versions (below) but all result in the same error:
> >
> > # tftp -p -l sm.txt -r /tftpboot/sm.txt 222.222.101.117
> >
> > # tftp -p -l sm.txt -r /tftpboot/sm.txt 222.222.101.117, ensuring that
> > there is a sm.txt in the server tftpboot directory.
>
> Is it world-writable? Can you strace the server? (strace -f -p <server's PID>)
>
> > Is my usage correct? Is "put" buggy in busybox-tftp?
>
> Don't know.
> If you have other tftp client which is able to put file, then definitely yes.
> --
> vda
>



More information about the busybox mailing list