diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-28 19:49:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-28 19:49:28 +0000 |
commit | 4d94719cf982033183a5d641ef741f5e229d212d (patch) | |
tree | 6e4e30215926ce1f068e9e7738a470fc7dea18a1 /nuttx/Documentation | |
parent | 305d77e4688822294cd49112b4d8d73c48619979 (diff) | |
download | px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.tar.gz px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.tar.bz2 px4-nuttx-4d94719cf982033183a5d641ef741f5e229d212d.zip |
Add wget command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1657 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NuttShell.html | 46 | ||||
-rw-r--r-- | nuttx/Documentation/NuttX.html | 8 | ||||
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 2 |
3 files changed, 50 insertions, 6 deletions
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html index c5c5c921b..2ebad0a74 100644 --- a/nuttx/Documentation/NuttShell.html +++ b/nuttx/Documentation/NuttShell.html @@ -8,7 +8,7 @@ <tr align="center" bgcolor="#e4e4e4"> <td> <h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1> - <p>Last Updated: November 15, 2008</p> + <p>Last Updated: March 28, 2009</p> </td> </tr> </table> @@ -275,7 +275,13 @@ <tr> <td><br></td> <td> - <a href="#cmdxd">2.33 Hexadecimal Dump (xd)</a> + <a href="#cmdwget">2.33 Get File Via HTTP (wget)</a> + </td> +</tr> +<tr> + <td><br></td> + <td> + <a href="#cmdxd">2.34 Hexadecimal Dump (xd)</a> </td> </tr> <tr> @@ -1673,7 +1679,34 @@ usleep <usec> <table width ="100%"> <tr bgcolor="#e4e4e4"> <td> - <a name="cmdxd"><h2>2.33 Hexadecimal dump (xd)</h2></a> + <a name="cmdwget">2.33 Get File Via HTTP (wget)</a> + </td> + </tr> +</table> + +<a <p><b>Command Syntax:</b></p> +<ul><pre> +wget [-o <local-path>] <url> +</pre></ul> +<p> + <b>Synopsis</b>. + Use HTTP to copy the file at <code><url></code> to the current directory. +</p> +<p><b>Options:</b></p> +<ul><table> + <tr> + <td><b><code>-o <local-path></code></b></td> + <td> + The file will be saved relative to the current working directory + and with the same name as on the HTTP server unless <code><local-path></code> is provided. + </td> + </tr> +</table></ul> + +<table width ="100%"> + <tr bgcolor="#e4e4e4"> + <td> + <a name="cmdxd"><h2>2.34 Hexadecimal dump (xd)</h2></a> </td> </tr> </table> @@ -1910,6 +1943,12 @@ nsh> <td><code>CONFIG_EXAMPLES_NSH_DISABLE_USLEEP</code></td> </tr> <tr> + <td><b><code>wget</code></b></td> + <td><code>CONFIG_NET</code> && <code>CONFIG_NET_TCP</code> && + <code>CONFIG_NFILE_DESCRIPTORS</code> > 0</td> + <td><code>CONFIG_EXAMPLES_NSH_DISABLE_WGET</code></td> + </tr> + <tr> <td><b><code>xd</code></b></td> <td><br></td> <td><code>CONFIG_EXAMPLES_NSH_DISABLE_XD</code></td> @@ -2255,6 +2294,7 @@ nsh> <li><a href="#cmdunmount"><code>umount</code></a></li> <li><a href="#cmdunset"><code>unset</code></a></li> <li><a href="#cmdusleep"><code>usleep</code></a></li> + <li><a href="#cmdwget"><code>wget</code></a></li> <li><a href="#cmdxd"><code>xd</code></a></li> </ul></td> </tr></table> diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index a592cf57a..382c2d3ad 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -1363,9 +1363,13 @@ nuttx-0.4.4 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> (submitted by JPelletier). The is the same fix that was needed for the eZ80 and fixed in 0.4.2. * netutils: Added logic to support a simple wget() function - * examples/wget: Added a test for wget() (Not yet tested because of - some current networking limitations). + * examples/wget: Added a test for wget() -- NOTE * lib/strncasecmp: Fix cut'n'paste error in function name. + * NSH: Added wget command (untested and temorarily disabled)-- see NOTE. + + NOTE: Features related to wget are not tested on the target platform in this + release and, hence, most likely have problems. I don't have the correct network + settup to perform that testing now (I'm in a hotel). pascal-0.1.3 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 93a2e3b2e..1d790ee25 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -817,7 +817,7 @@ include/ <h2>2.12 <a name="DirStructNetUtils">netutils</a></h2> <p> This directory contains most of the network applications. - Some of these are original with NuttX (like tftpc) and others were leveraged from the uIP-1.0 apps directory. + Some of these are original with NuttX (like tftpc and dhcpd) and others were leveraged from the uIP-1.0 apps directory. As the uIP apps/README says, these applications "are not all heavily tested." </p> <ul><pre> |