commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-33) [vfs] ftp-access a directory failed
Date Thu, 18 May 2006 22:20:06 GMT
    [ http://issues.apache.org/jira/browse/VFS-33?page=comments#action_12412437 ] 

Brad Davis commented on VFS-33:
-------------------------------

I've duplicated this issue.  Here is a snippet of example code...

    FileSystemManager mManager = VFS.getManager();
    FileObject mObject = mManager.resolveFile("ftp://foo.example.com/foo/bar");
    boolean exists = mObject.exists();
    InputStream mStream = mObject.getContent().getInputStream();

The criteria for duplicating this is that bar should be a file with full read permissions
to whoever is accessing it, and foo should be a directory with execute but NOT read permission
(assuming posix stlye permissions).  

The exists function incorrectly returns false, and the  getInputStream() function throws an
exception.  

> [vfs] ftp-access a directory failed
> -----------------------------------
>
>          Key: VFS-33
>          URL: http://issues.apache.org/jira/browse/VFS-33
>      Project: Commons VFS
>         Type: Bug

>  Environment: Operating System: All
> Platform: Other
>     Reporter: Sven Homburg

>
> i try to connect via ftp to a server with this uri : 
> ftp://johndoe:mypass@195.60.99.6/depotxxx/depot120/ 
> the user johndoe has only access to this directory but VFS tries to access the depotxxx
and the 
> root dir

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message