commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Yeleighton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-533) FTPClient unable to handle a recursive listing
Date Tue, 02 Dec 2014 08:37:12 GMT

    [ https://issues.apache.org/jira/browse/NET-533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231178#comment-14231178
] 

Christopher Yeleighton commented on NET-533:
--------------------------------------------

CLI FTP clients do not return a list of files, they return a stream of text.  How the text
is formatted is up to the server.

> FTPClient unable to handle a recursive listing
> ----------------------------------------------
>
>                 Key: NET-533
>                 URL: https://issues.apache.org/jira/browse/NET-533
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.3
>         Environment: Android 4.0.4
>            Reporter: Christopher Yeleighton
>
> The expression (ftpClient .listFiles ("-lR")) 
> evaluates to (FTPFile [] { "a", "b/", "a"  }) 
> rather than (FTPFile [] { "a", "b/", "b/a"  }).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message