diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index c689cbb468d..e9d363dc973 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: September 3, 2008
+ Last Updated: September 5, 2008
|
@@ -113,127 +113,139 @@
|
- 2.7 Exit NSH (exit)
+ 2.7 Get File Via TFTP (get)
|
|
- 2.8 Show Usage Command Usage (help)
+ 2.8 Exit NSH (exit)
|
|
- 2.9 Show Network Configuration (ifconfig)
+ 2.9 Show Usage Command Usage (help)
|
|
- 2.10 List Directory Contents (ls)
+ 2.10 Show Network Configuration (ifconfig)
|
|
- 2.11 Access Memory (mb, mh, and mw)
+ 2.11 List Directory Contents (ls)
|
|
- 2.12 Show Memory Manager Status (mem)
+ 2.12 Access Memory (mb, mh, and mw)
|
|
- 2.13 Show Current Tasks and Threads (ps)
+ 2.13 Show Memory Manager Status (mem)
|
|
- 2.14 Create a Directory (mkdir)
+ 2.14 Show Current Tasks and Threads (ps)
|
|
- 2.15 Create a FAT Filesystem (mkfatfs)
+ 2.15 Create a Directory (mkdir)
|
|
- 2.16 Create a FIFO (mkfifo)
+ 2.16 Create a FAT Filesystem (mkfatfs)
|
|
- 2.17 Mount a File System (mount)
+ 2.17 Create a FIFO (mkfifo)
|
|
- 2.18 Check Network Peer (ping)
+ 2.18 Mount a File System (mount)
|
|
- 2.19 Show Current Working Directory (pwd)
+ 2.19 Check Network Peer (ping)
|
|
- 2.20 Remove a File (rm)
+ 2.20 Send File Via TFTP (put)
|
|
- 2.21 Remove a Directory (rmdir)
+ 2.21 Show Current Working Directory (pwd)
|
|
- 2.22 Set an Environment Variable (set)
+ 2.22 Remove a File (rm)
|
|
- 2.23 Execute an NSH Script (sh)
+ 2.23 Remove a Directory (rmdir)
|
|
- 2.24 Wait for Seconds (sleep)
+ 2.24 Set an Environment Variable (set)
|
|
- 2.25 Unmount a File System (umount)
+ 2.25 Execute an NSH Script (sh)
|
|
- 2.26 Unset an Environment Variable (unset)
+ 2.26 Wait for Seconds (sleep)
|
|
- 2.27 Wait for Microseconds (usleep)
+ 2.27 Unmount a File System (umount)
+ |
+
+
+
|
+
+ 2.28 Unset an Environment Variable (unset)
+ |
+
+
+
|
+
+ 2.29 Wait for Microseconds (usleep)
|
@@ -621,7 +633,42 @@ exec <hex-address>
+
+Command Syntax:
+
+get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
+
+
+ Synopsis.
+ Copy the file at <remote-address> from the host whose IP address is
+ identified by <ip-address>.
+
+Other options:
+
+
+ -f <local-path> |
+
+ The file will be saved relative to the current working directory
+ unless <local-path> is provided.
+ |
+
+
+ -b|-n |
+
+ Selects either binary ("octect") or test ("netascii") transfer
+ mode. Default: text.
+ |
+
+
+
+
@@ -640,7 +687,7 @@ exit
@@ -657,7 +704,7 @@ help
@@ -683,7 +730,7 @@ eth0 HWaddr 00:18:11:80:10:06
@@ -720,7 +767,7 @@ ls [-lRs] <dir-path>
@@ -774,7 +821,7 @@ nsh>
@@ -823,7 +870,7 @@ nsh>
@@ -849,7 +896,7 @@ nsh>
@@ -884,7 +931,7 @@ nsh>
@@ -904,7 +951,7 @@ mkfatfs <path>
@@ -942,7 +989,7 @@ nsh>
@@ -1009,7 +1056,7 @@ nsh>
@@ -1042,7 +1089,42 @@ nsh>
+
+Command Syntax:
+
+put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
+
+
+ Synopsis.
+ Copy the file at <local-address> to the host whose IP address is
+ identified by <ip-address>.
+
+Other options:
+
+
+ -f <remote-path> |
+
+ The file will be saved relative with the same name on the host
+ unless <remote-path> is provided.
+ |
+
+
+ -b|-n |
+
+ Selects either binary ("octect") or test ("netascii") transfer
+ mode. Default: text.
+ |
+
+
+
+
@@ -1072,7 +1154,7 @@ nsh>
@@ -1106,7 +1188,7 @@ nsh>
@@ -1141,7 +1223,7 @@ nsh>
@@ -1167,7 +1249,7 @@ nsh>
@@ -1185,7 +1267,7 @@ sh <script-path>
@@ -1202,7 +1284,7 @@ sleep <sec>
@@ -1232,7 +1314,7 @@ nsh>
@@ -1258,7 +1340,7 @@ nsh>
@@ -1331,6 +1413,10 @@ usleep <usec>
exit |
|
+
+ get |
+ CONFIG_NET && CONFIG_NET_UDP && CONFIG_NFILE_DESCRIPTORS > 0 |
+
help |
|
@@ -1375,6 +1461,10 @@ usleep <usec>
ps |
|
+
+ put |
+ CONFIG_NET && CONFIG_NET_UDP && CONFIG_NFILE_DESCRIPTORS > 0 |
+
pwd |
!CONFIG_DISABLE_ENVIRON && CONFIG_NFILE_DESCRIPTORS > 0 |
@@ -1602,6 +1692,7 @@ usleep <usec>
Environment Variables
exec
exit
+ get
Greeting
@@ -1623,6 +1714,7 @@ usleep <usec>
ping
Prompt
ps
+ put
pwd
PWD
Re-directed commands
diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index d8edf1eb2cf..2e936dee9e2 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -1077,6 +1077,7 @@ nuttx-0.3.14 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* Correct IP checksum calculation in ICMP and UDP message send logic.
* NSH: Created an HTML document and a more detailed README file describing NSH.
* Added basic TFTP client logic (netutils/tftpc). Untested as of initial check-in.
+ * NSH: Add get and put commands to support TFTP get and put operations.
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|