An unimplemented FTP command is marked by '*' symbol and an attempt to use it returns something like "502 ACCT command not implemented." It's also possible to mark any SITE command as "unimplemented", and it also will be marked by '*'... But an attempt to use such command leads to the significantly different reply like "500 'SITE MD5 xxx': command not understood.". Both situations are handled by the similar ways, and the difference is that unimplemented command matches to "| NOTIMPL", but unimplemented SITE command matches to "| SITE SP NOTIMPL"... p.s. I think that the better way is not to show unimplemented commands at all, but if the mentioned above way is selected, it must be implemented completely... How-To-Repeat: 1. modify sitetab[] like this: --- ftpcmd.y.ORI Tue Feb 11 17:28:28 2003 +++ ftpcmd.y Fri Nov 28 19:57:09 2003 @@ -1149,7 +1149,7 @@ }; struct tab sitetab[] = { - { "MD5", MDFIVE, STR1, 1, "[ <sp> file-name ]" }, + { "MD5", MDFIVE, STR1, 0, "[ <sp> file-name ]" }, { "UMASK", UMASK, ARGS, 1, "[ <sp> umask ]" }, { "IDLE", IDLE, ARGS, 1, "[ <sp> maximum-idle-time ]" }, { "CHMOD", CHMOD, NSTR, 1, "<sp> mode <sp> file-name" }, 2. recompile and install ftpd... 3. run ftp(1), connect to server as the non-anonymous user... 4. enter the command like "site md5 xxx"
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>