From 23de6808f70552beeb4b3a3374543f7aaf31c4c8 Mon Sep 17 00:00:00 2001 From: Alex Musolino Date: Wed, 23 Sep 2020 12:44:05 +0930 Subject: ftpd: handle "allo" command by treating it as a no-op RFC959 says: "The ALLO command should be treated as a NOOP (no operation) by those servers which do not require that the maximum size of the file be declared beforehand..." --- sys/src/cmd/ip/ftpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/src/cmd/ip/ftpd.c b/sys/src/cmd/ip/ftpd.c index f4ebbf68b..6661189e9 100644 --- a/sys/src/cmd/ip/ftpd.c +++ b/sys/src/cmd/ip/ftpd.c @@ -85,6 +85,7 @@ struct Cmd Cmd cmdtab[] = { { "abor", abortcmd, 0, }, + { "allo", nopcmd, 1, }, { "appe", appendcmd, 1, }, { "cdup", cdupcmd, 1, }, { "cwd", cwdcmd, 1, }, -- cgit v1.2.3