diff options
author | Denys Nykula <nykula@ukr.net> | 2019-09-23 05:15:02 +0300 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-09-23 13:34:08 -0500 |
commit | fc345cfc8f9ba6d526b9030c0c3505b068bf5b89 (patch) | |
tree | 558fb92541bf20e70530f0540d73e7a6066db215 /toys/net | |
parent | e794647d2ac93a968c25491fe3681a9613c410e6 (diff) | |
download | toybox-fc345cfc8f9ba6d526b9030c0c3505b068bf5b89.tar.gz |
Fix ftpget download
Investigate why downloads always freeze when I call ftpget. Trace it to
a refactor leaving two REST and zero RETR.
Diffstat (limited to 'toys/net')
-rw-r--r-- | toys/net/ftpget.c | 2 |
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) { |