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..."
This commit is contained in:
parent
313aebb964
commit
23de6808f7
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ struct Cmd
|
||||||
Cmd cmdtab[] =
|
Cmd cmdtab[] =
|
||||||
{
|
{
|
||||||
{ "abor", abortcmd, 0, },
|
{ "abor", abortcmd, 0, },
|
||||||
|
{ "allo", nopcmd, 1, },
|
||||||
{ "appe", appendcmd, 1, },
|
{ "appe", appendcmd, 1, },
|
||||||
{ "cdup", cdupcmd, 1, },
|
{ "cdup", cdupcmd, 1, },
|
||||||
{ "cwd", cwdcmd, 1, },
|
{ "cwd", cwdcmd, 1, },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue