Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-248

half-baked commands list in FTPCommand

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      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.

        Attachments

        1. FTPCommand.java
          5 kB
          Luffy Jiang

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                luffy Luffy Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified