aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 09c5ff30f..66316e21f 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -13,6 +13,44 @@
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 15
16//usage:#define ftpget_trivial_usage
17//usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE"
18//usage:#define ftpget_full_usage "\n\n"
19//usage: "Retrieve a remote file via FTP\n"
20//usage: "\nOptions:"
21//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
22//usage: "\n -c,--continue Continue previous transfer"
23//usage: "\n -v,--verbose Verbose"
24//usage: "\n -u,--username Username"
25//usage: "\n -p,--password Password"
26//usage: "\n -P,--port Port number"
27//usage: )
28//usage: IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS(
29//usage: "\n -c Continue previous transfer"
30//usage: "\n -v Verbose"
31//usage: "\n -u Username"
32//usage: "\n -p Password"
33//usage: "\n -P Port number"
34//usage: )
35//usage:
36//usage:#define ftpput_trivial_usage
37//usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE"
38//usage:#define ftpput_full_usage "\n\n"
39//usage: "Store a local file on a remote machine via FTP\n"
40//usage: "\nOptions:"
41//usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS(
42//usage: "\n -v,--verbose Verbose"
43//usage: "\n -u,--username Username"
44//usage: "\n -p,--password Password"
45//usage: "\n -P,--port Port number"
46//usage: )
47//usage: IF_NOT_FEATURE_FTPGETPUT_LONG_OPTIONS(
48//usage: "\n -v Verbose"
49//usage: "\n -u Username"
50//usage: "\n -p Password"
51//usage: "\n -P Port number"
52//usage: )
53
16#include "libbb.h" 54#include "libbb.h"
17 55
18struct globals { 56struct globals {