diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-06-04 20:13:03 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-06-04 20:13:03 +0000 |
commit | 7d745bc4429f5edb033521919f20842bb74461eb (patch) | |
tree | d37a43a33c528c0c8240263a2ad0d0ce50e4bc55 /nuttx/configs/olimex-lpc1766stk | |
parent | b2a3a49fb73f2b92ebbbdfa96d1432c21dc843cf (diff) |
Fix more FTP bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3668 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk')
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/README.txt | 8 | ||||
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/ftpc/defconfig | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index d9368d4b75..3ee4383c01 100755 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/configs/olimex-lpc1766stk/README.txt @@ -789,9 +789,11 @@ Where <subdir> is one of the following: From NSH, the startup command sequence is then:
- mount -t vfat /dev/mmcsd0 /tmp # Mount the SD card at /tmp
- cd /tmp # cd into the /tmp directory
- ftpc xx.xx.xx.xx[:pp] # Start the FTP client
+ nsh> mount -t vfat /dev/mmcsd0 /tmp # Mount the SD card at /tmp
+ nsh> cd /tmp # cd into the /tmp directory
+ nsh> ftpc xx.xx.xx.xx[:pp] # Start the FTP client
+ nfc> login <name> <password> # Log into the FTP server
+ nfc> help # See a list of FTP commands
where xx.xx.xx.xx is the IP address of the FTP server and pp is an
optional port number (default is the standard FTP port number 21).
diff --git a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig index 53301f1658..2ba0a0277e 100755 --- a/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/ftpc/defconfig @@ -435,7 +435,8 @@ CONFIG_ARCH_BZERO=n # CONFIG_NFILE_DESCRIPTORS - The maximum number of file # descriptors (one for each open) # CONFIG_NFILE_STREAMS - The maximum number of streams that -# can be fopen'ed +# can be fopen'ed or fdopend'ed. This needs to be pretty +# large for ftpc because it uses two streams per socket. # CONFIG_NAME_MAX - The maximum size of a file name. # CONFIG_STDIO_BUFFER_SIZE - Size of the buffer to allocate # on fopen. (Only if CONFIG_NFILE_STREAMS > 0) @@ -461,7 +462,7 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_TASK_ARGS=4 CONFIG_NPTHREAD_KEYS=4 CONFIG_NFILE_DESCRIPTORS=8 -CONFIG_NFILE_STREAMS=8 +CONFIG_NFILE_STREAMS=12 CONFIG_NAME_MAX=32 CONFIG_STDIO_BUFFER_SIZE=256 CONFIG_NUNGET_CHARS=2 |