commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giuseppe Lio (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VFS-566) No file returned when using findFiles on a directory in HTTP
Date Tue, 24 Mar 2015 10:20:53 GMT
Giuseppe Lio created VFS-566:
--------------------------------

             Summary: 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: Bug
    Affects Versions: 2.0
            Reporter: Giuseppe Lio


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