Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 34303 invoked from network); 17 Mar 2011 15:24:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Mar 2011 15:24:53 -0000 Received: (qmail 48603 invoked by uid 500); 17 Mar 2011 15:24:53 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48544 invoked by uid 500); 17 Mar 2011 15:24:53 -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 48536 invoked by uid 99); 17 Mar 2011 15:24:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 15:24:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 15:24:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8043B3AD37B for ; Thu, 17 Mar 2011 15:24:29 +0000 (UTC) Date: Thu, 17 Mar 2011 15:24:29 +0000 (UTC) From: "Colin Stone (JIRA)" To: issues@commons.apache.org Message-ID: <710628488.8949.1300375469521.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1982421802.8637.1300359689757.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (NET-376) setListHiddenFiles doesn't work for HFS file system running under zos MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NET-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007953#comment-13007953 ] Colin Stone commented on NET-376: --------------------------------- As you would expect really. LIST 125 List started OK 250 List completed successfully. when set to false LIST -a 125 List started OK 250 List completed successfully. when set to true The issue is in the format or the returned rows and how the parser reads them. In the first LIST presents the data in the way I would expect LIST -l to do (even though the -l parameter is not present) and the parser sees all of the detail including user, group, permissions etc. The LIST -a simply presents the file name and the UnixFTPEntryParser rejects each entry as they doesn't match on the regexps. > setListHiddenFiles doesn't work for HFS file system running under zos > --------------------------------------------------------------------- > > Key: NET-376 > URL: https://issues.apache.org/jira/browse/NET-376 > Project: Commons Net > Issue Type: Bug > Components: FTP > Affects Versions: 2.2 > Environment: IBM z/OS running HFS > Reporter: Colin Stone > > The implementation for setListHiddenFiles is essentially the use of a '-a' parameter appended to the LIST command. This retrieves the data in a different format to without the parameter and the parse engine used by initiateListParsing fails to read the lines returned. > I suggest the parameter should have been '-al' for this scenario -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira