tftp client error
Jenson Lui
jhnlui at gmail.com
Thu Aug 16 18:04:56 PDT 2007
Hello,
I suggest you check your tftp server if it allows upload of file.
I have experienced the same before and found out that my tftp server
default option does not allow upload of new file.
Regards,
H. N. Lui
On 8/17/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
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20070817/f60420c5/attachment.htm
More information about the busybox
mailing list