You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Giuseppe Lio (JIRA)" <ji...@apache.org> on 2015/03/24 11:20:53 UTC

[jira] [Created] (VFS-566) No file returned when using findFiles on a directory in HTTP

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)