diff options
author | Ron Yorston <rmy@pobox.com> | 2016-11-29 11:26:45 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-11-29 11:26:45 +0000 |
commit | bb8d79eadbba1942dbdb9f9cee5c47833afe269f (patch) | |
tree | b8c517e9ca895d60d7227aef7177b6291df5e2cd /networking/ftpgetput.c | |
parent | 9fa1e4990e655a85025c9d270a1606983e375e47 (diff) | |
parent | 7d877fc9312a742b06125927bb1d34bd35398c6c (diff) | |
download | busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.gz busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.bz2 busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 0bfe388a8..0b06f85b4 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -12,6 +12,30 @@ | |||
12 | * | 12 | * |
13 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 13 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
14 | */ | 14 | */ |
15 | //config:config FTPGET | ||
16 | //config: bool "ftpget" | ||
17 | //config: default y | ||
18 | //config: help | ||
19 | //config: Retrieve a remote file via FTP. | ||
20 | //config: | ||
21 | //config:config FTPPUT | ||
22 | //config: bool "ftpput" | ||
23 | //config: default y | ||
24 | //config: help | ||
25 | //config: Store a remote file via FTP. | ||
26 | //config: | ||
27 | //config:config FEATURE_FTPGETPUT_LONG_OPTIONS | ||
28 | //config: bool "Enable long options in ftpget/ftpput" | ||
29 | //config: default y | ||
30 | //config: depends on LONG_OPTS && (FTPGET || FTPPUT) | ||
31 | //config: help | ||
32 | //config: Support long options for the ftpget/ftpput applet. | ||
33 | |||
34 | //applet:IF_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, BB_DIR_USR_BIN, BB_SUID_DROP, ftpget)) | ||
35 | //applet:IF_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, BB_DIR_USR_BIN, BB_SUID_DROP, ftpput)) | ||
36 | |||
37 | //kbuild:lib-$(CONFIG_FTPGET) += ftpgetput.o | ||
38 | //kbuild:lib-$(CONFIG_FTPPUT) += ftpgetput.o | ||
15 | 39 | ||
16 | //usage:#define ftpget_trivial_usage | 40 | //usage:#define ftpget_trivial_usage |
17 | //usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE" | 41 | //usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE" |