Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 61792 invoked from network); 27 Feb 2011 02:51:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Feb 2011 02:51:23 -0000 Received: (qmail 50754 invoked by uid 500); 27 Feb 2011 02:51:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 50670 invoked by uid 500); 27 Feb 2011 02:51:22 -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 50662 invoked by uid 99); 27 Feb 2011 02:51:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Feb 2011 02:51:22 +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; Sun, 27 Feb 2011 02:51:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E05811B9376 for ; Sun, 27 Feb 2011 02:50:58 +0000 (UTC) Date: Sun, 27 Feb 2011 02:50:58 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: <534903766.604.1298775058915.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (NET-156) New FTPClient method to retrieve all directory names in the current working directory. 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-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated NET-156: --------------------- Fix Version/s: 3.0 > New FTPClient method to retrieve all directory names in the current working directory. > -------------------------------------------------------------------------------------- > > Key: NET-156 > URL: https://issues.apache.org/jira/browse/NET-156 > Project: Commons Net > Issue Type: New Feature > Components: FTP > Affects Versions: 1.5 > Environment: Operating System: All > Reporter: Billy Bacon > Priority: Minor > Fix For: 3.0 > > > A project I'm on had a requirement which I needed to traverse each directory from the users home directory (after logging in to the ftp server) and download a specific file format. I created a method listDirectories() which will return a String[] of directory names which reside in the current working directory. I thought this could be a nice addition to the API and would like to contribute the code I wrote. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira