ref: 23de6808f70552beeb4b3a3374543f7aaf31c4c8
parent: 313aebb96478c37be8f39754875c02dcb3f896cc
author: Alex Musolino <[email protected]>
date: Wed Sep 23 08:44:05 EDT 2020
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..."
--- a/sys/src/cmd/ip/ftpd.c
+++ b/sys/src/cmd/ip/ftpd.c
@@ -85,6 +85,7 @@
Cmd cmdtab[] =
{
{ "abor", abortcmd, 0, },
+ { "allo", nopcmd, 1, },
{ "appe", appendcmd, 1, },
{ "cdup", cdupcmd, 1, },
{ "cwd", cwdcmd, 1, },