[ 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:[EMAIL PROTECTED]/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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]