Skip to content

Commit caa6273

Browse files
rlubosaescolar
authored andcommitted
net: shell: Add FTP module
Add FTP shell module covering basic FTP client operations. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1 parent 991ea36 commit caa6273

File tree

3 files changed

+530
-0
lines changed

3 files changed

+530
-0
lines changed

‎subsys/net/lib/shell/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV4_SUPPORTED dhcpv4.c)
1414
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV6_SUPPORTED dhcpv6.c)
1515
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DNS_RESOLVER_SUPPORTED dns.c)
1616
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_EVENT_MONITOR_SUPPORTED events.c)
17+
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_FTP_SUPPORTED ftp.c)
1718
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_GPTP_SUPPORTED gptp.c)
1819
zephyr_library_sources_ifdef(CONFIG_NET_SHELL_HTTP_SERVER_SUPPORTED http.c)
1920
zephyr_library_sources(iface.c)

‎subsys/net/lib/shell/Kconfig‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ config NET_SHELL_EVENT_MONITOR_SUPPORTED
6060
default y
6161
depends on NET_SHELL_SHOW_DISABLED_COMMANDS || NET_MGMT_EVENT_MONITOR
6262

63+
config NET_SHELL_FTP_SUPPORTED
64+
bool "FTP client"
65+
default y
66+
depends on NET_SHELL_SHOW_DISABLED_COMMANDS || FTP_CLIENT
67+
6368
config NET_SHELL_GPTP_SUPPORTED
6469
bool "gPTP monitoring"
6570
default y

0 commit comments

Comments
 (0)