Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 16634 invoked from network); 31 Dec 2008 17:38:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2008 17:38:06 -0000 Received: (qmail 5256 invoked by uid 500); 31 Dec 2008 17:38:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 4952 invoked by uid 500); 31 Dec 2008 17:38:05 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 4941 invoked by uid 99); 31 Dec 2008 17:38:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 09:38:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2008 17:38:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 478C7234C498 for ; Wed, 31 Dec 2008 09:37:44 -0800 (PST) Message-ID: <1787881822.1230745064292.JavaMail.jira@brutus> Date: Wed, 31 Dec 2008 09:37:44 -0800 (PST) From: "Luffy Jiang (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (NET-248) half-baked commands list in FTPCommand MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.