You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luffy Jiang (JIRA)" <ji...@apache.org> on 2008/12/31 18:45:44 UTC

[jira] Updated: (NET-248) half-baked commands list in FTPCommand

     [ https://issues.apache.org/jira/browse/NET-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luffy Jiang updated NET-248:
----------------------------

    Attachment: FTPCommand.java

/src/main/java/org/apache/commons/net/ftp/FTPCommand.java

> 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
>         Attachments: FTPCommand.java
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.