You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/02/25 16:04:38 UTC

[jira] Resolved: (NET-156) New FTPClient method to retrieve all directory names in the current working directory.

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

Sebb resolved NET-156.
----------------------

    Resolution: Fixed

Added methods listDirectories(), listDirectories(String path) which return FTPFile[]

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