f489bcd6f9
FTP: Adds support for IPv6 and fixes various transfer issues * netutils/ftpd: Fix support for IPv6 FTP server * netutils/ftpc:Adds support for IPv6 sockets * ftpc: Must convert port received by EPSV reply to network order * ftpc: Data socket address for passive connection should be same as server address * ftpc: Must skip human readable string in EPSV response before scanning for port * ftpc: Don't send PASS command if USER command was sufficient. ie no password required * ftpc: Generically handle permanent negative completion in shard ftpc_cmd logic * ftpc: Minor addresssing fix * ftpc: Tweak logic for overriding network debugging output * FTP: Adds option for setting stack size of various threads in FTPD and FTPC * netutils/ftpd: Fixes build error setting IPv4 address. sin_addr => sin_addr.s_addr * netutils/ftpd: Protects against partial write returns by looping in that case Approved-by: Gregory Nutt <gnutt@nuttx.org>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config NETUTILS_FTPC
|
|
bool "FTP client"
|
|
default n
|
|
---help---
|
|
Enable support for the FTP client.
|
|
|
|
if NETUTILS_FTPC
|
|
|
|
config DEBUG_FTPC
|
|
bool "Debug FTP client"
|
|
default n
|
|
depends on DEBUG_FEATURES
|
|
---help---
|
|
Enable debug support for the FTP client. This option simple forces
|
|
CONFIG_DEBUG_NET to be on, but only for the files within this directory.
|
|
|
|
config FTP_TMPDIR
|
|
string "TMP directory path for FTP"
|
|
default "/tmp"
|
|
---help---
|
|
The path to use for storing temporary files used in the transfer process
|
|
by the FTP client.
|
|
|
|
config FTPC_DISABLE_EPRT
|
|
bool "Disable EPRT and use PORT instead"
|
|
default n
|
|
---help---
|
|
FTP uses PORT and EPRT when in active mode. EPRT replaced PORT to allow
|
|
for IPv6 support. EPRT is supported in most FTP implementations now. However,
|
|
if you need to use PORT instead, use this option to disable EPRT and
|
|
fallback to using PORT.
|
|
|
|
config FTPC_DISABLE_EPSV
|
|
bool "Disable EPSV and use PASV instead"
|
|
default n
|
|
---help---
|
|
FTP uses EPSV or PASV when in passive mode. EPSV replaced PASV to allow
|
|
for IPv6 support. EPSV is supported in most FTP implementations now. However,
|
|
if you need to use PASV instead, use this option to disable EPSV and
|
|
fallback to using PASV.
|
|
|
|
endif
|