commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (NET-156) New FTPClient method to retrieve all directory names in the current working directory.
Date Fri, 25 Feb 2011 15:04:38 GMT

     [ 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

        

Mime
View raw message