aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/net/ftpget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/net/ftpget.c b/toys/net/ftpget.c
index 05c53509..27ea6db6 100644
--- a/toys/net/ftpget.c
+++ b/toys/net/ftpget.c
@@ -166,7 +166,7 @@ void ftpget_main(void)
lenl = fdlength(ii);
}
if (get) {
- cmd = "REST";
+ cmd = "RETR";
if (toys.optflags&FLAG_l) cmd = "LIST";
if (toys.optflags&FLAG_L) cmd = "NLST";
if (cnt) {