Hello,<br><br> I suggest you check your tftp server if it allows upload of file.<br>I have experienced the same before and found out that my tftp server<br>default option does not allow upload of new file.<br><br>Regards,
<br>H. N. Lui<br><br><div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Denys Vlasenko</b> <<a href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 16 August 2007 15:37, Avtar Singh wrote:<br>> Hello,<br>><br>> I have busybox 1.6.0 running on an embedded system powered by i.MX21<br>> (ARM9 core) and running Kernel vanilla 2.6.22 with a few board
<br>> specific patches. I can do a tftp get from my desktop system connected<br>> to the embedded board without any issues. However, tftp put throws up<br>> the following error repeatedly:<br>><br>> # tftp -p -l
sm.txt <a href="http://222.222.101.117">222.222.101.117</a><br>> tftp: server error: (1) File not found<br><br>Due to security considerations, many tfpt servers allow puts<br>only if target file is already exists on server and is world-writable.
<br><br>It looks like server says "I don't have sm.txt, therefore I won't allow<br>you to create one".<br><br>> The file is located in the root directory and I am issuing the command<br>> from the root directory.
<br>><br>> I have tried several versions (below) but all result in the same error:<br>><br>> # tftp -p -l sm.txt -r /tftpboot/sm.txt <a href="http://222.222.101.117">222.222.101.117</a><br>><br>> # tftp -p -l
sm.txt -r /tftpboot/sm.txt <a href="http://222.222.101.117">222.222.101.117</a>, ensuring that<br>> there is a sm.txt in the server tftpboot directory.<br><br>Is it world-writable? Can you strace the server? (strace -f -p <server's PID>)
<br><br>> Is my usage correct? Is "put" buggy in busybox-tftp?<br><br>Don't know.<br>If you have other tftp client which is able to put file, then definitely yes.<br>--<br>vda<br>_______________________________________________
<br>busybox mailing list<br><a href="mailto:busybox@busybox.net">busybox@busybox.net</a><br><a href="http://busybox.net/cgi-bin/mailman/listinfo/busybox">http://busybox.net/cgi-bin/mailman/listinfo/busybox</a><br></blockquote>
</div><br>