commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Legner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-566) No file returned when using findFiles on a directory in HTTP
Date Thu, 24 Sep 2015 21:57:05 GMT

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

Simon Legner commented on VFS-566:
----------------------------------

In my understanding, this is addressed by VFS-199 and its patch.

> No file returned when using findFiles on a directory in HTTP
> ------------------------------------------------------------
>
>                 Key: VFS-566
>                 URL: https://issues.apache.org/jira/browse/VFS-566
>             Project: Commons VFS
>          Issue Type: Wish
>    Affects Versions: 2.0
>            Reporter: Giuseppe Lio
>            Priority: Minor
>
> I am trying to list the content of a folder with HTTP doing something like:
> FileObject remoteFolderObj = fsManager.resolveFile("http://lio:18080/test/");
> FileObject[] files = remoteFolderObj.findFiles(allFileSelector);
> where allFileSelector is a FileSelector which returns all the file.
> Doing this findFiles method returns no file even if there are files in the folder.
> When I go to:
> http://lio:18080/test/
> using a browser I can see the list of the files in the folder.



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

Mime
View raw message