Hello,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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> &lt;<a href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>&gt; 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>&gt; Hello,<br>&gt;<br>&gt; I have busybox 1.6.0 running on an embedded system powered by i.MX21<br>&gt; (ARM9 core) and running Kernel vanilla 2.6.22 with a few board
<br>&gt; specific patches. I can do a tftp get from my desktop system connected<br>&gt; to the embedded board without any issues. However, tftp put throws up<br>&gt; the following error repeatedly:<br>&gt;<br>&gt; # tftp -p -l 
sm.txt <a href="http://222.222.101.117">222.222.101.117</a><br>&gt; 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 &quot;I don&#39;t have sm.txt, therefore I won&#39;t allow<br>you to create one&quot;.<br><br>&gt; The file is located in the root directory and I am issuing the command<br>&gt; from the root directory.
<br>&gt;<br>&gt; I have tried several versions (below) but all result in the same error:<br>&gt;<br>&gt; # tftp -p -l sm.txt -r /tftpboot/sm.txt <a href="http://222.222.101.117">222.222.101.117</a><br>&gt;<br>&gt; # tftp -p -l 
sm.txt -r /tftpboot/sm.txt <a href="http://222.222.101.117">222.222.101.117</a>, ensuring that<br>&gt; there is a sm.txt in the server tftpboot directory.<br><br>Is it world-writable? Can you strace the server? (strace -f -p &lt;server&#39;s PID&gt;)
<br><br>&gt; Is my usage correct? Is &quot;put&quot; buggy in busybox-tftp?<br><br>Don&#39;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>