You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmytro Polivenok (JIRA)" <ji...@apache.org> on 2013/01/18 14:48:12 UTC

[jira] [Comment Edited] (VFS-199) Http/Https listChildren browse support

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

Dmytro Polivenok edited comment on VFS-199 at 1/18/13 1:48 PM:
---------------------------------------------------------------

As I remember it is for handling case when you have links which point subfolders, for example:
../
folder1/subfolder1
folder2

in this case "folder1/subfolder1" will be trimmed to folder1, as we don't wont to include "subfolder1" it as child of current directory (is is actually child of folder1 and it will be returned there) 
                
      was (Author: polivenok):
    As I remember it is for handling case when you have links which points subfolders, for example:
../
folder1/subfolder1
folder2

in this case "folder1/subfolder1" will be trimmed to folder1, as we don't wont to include "subfolder1" it as child of current directory (is is actually child of folder1 and it will be returned there) 
                  
> Http/Https listChildren browse support
> --------------------------------------
>
>                 Key: VFS-199
>                 URL: https://issues.apache.org/jira/browse/VFS-199
>             Project: Commons VFS
>          Issue Type: New Feature
>    Affects Versions: 1.1
>            Reporter: Andrew Franklin
>         Attachments: HttpGetList.txt, VFS-199.patch
>
>
> I think this was lodged at some time ago as VFS-79: http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg83701.html.
> Essentially the ability to browse http via the directory listing structure is reasonably important for a number of use cases. 
> Mario noted in that previous bug that the parsing of the html isn't necessarily trivial but I've submitted a patch that meets my requirements. The patch uses java regular expressions which has the requirement of JVM > 1.4. Submitting in the hope that other users will find it useful and maybe we'll be able to tidy it to the point where it can be integrated into the vfs mainline.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira