half-baked commands list in FTPCommand
--------------------------------------
Key: NET-248
URL: https://issues.apache.org/jira/browse/NET-248
Project: Commons Net
Issue Type: Bug
Affects Versions: 2.0
Environment: all
Reporter: Luffy Jiang
Priority: Critical
in version 2.0
the "MDTM" has been add into supporting.
/** @since 2.0 */
public static final int MDTM = 33;
but the commands list "static final String[] _commands = {" is halt-baked.
should be:
static final String[] _commands = {
"USER", "PASS", "ACCT", "CWD",
"CDUP", "SMNT", "REIN", "QUIT", "PORT",
"PASV", "TYPE", "STRU", "MODE",
"RETR", "STOR", "STOU", "APPE", "ALLO",
"REST", "RNFR", "RNTO", "ABOR",
"DELE", "RMD", "MKD", "PWD", "LIST",
"NLST", "SITE", "SYST", "STAT",
"HELP", "NOOP","MDTM",
};
but
static final String[] _commands = {
"USER", "PASS", "ACCT", "CWD",
"CDUP", "SMNT", "REIN", "QUIT", "PORT",
"PASV", "TYPE", "STRU", "MODE",
"RETR", "STOR", "STOU", "APPE", "ALLO",
"REST", "RNFR", "RNTO", "ABOR",
"DELE", "RMD", "MKD", "PWD", "LIST",
"NLST", "SITE", "SYST", "STAT",
"HELP", "NOOP",
};
right now,at released version.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.