commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston (JIRA)" <j...@apache.org>
Subject [jira] Closed: (NET-248) half-baked commands list in FTPCommand
Date Thu, 05 Feb 2009 00:29:59 GMT

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

Rory Winston closed NET-248.
----------------------------

    Resolution: Fixed

Added.

> 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.


Mime
View raw message