commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Gaillard (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-124) [FTP Provider] Regular Files in the top level directory on the server are viewed as folders.
Date Fri, 06 Apr 2007 18:11:32 GMT
[FTP Provider] Regular Files in the top level directory on the server are viewed as folders.
--------------------------------------------------------------------------------------------

                 Key: VFS-124
                 URL: https://issues.apache.org/jira/browse/VFS-124
             Project: Commons VFS
          Issue Type: Bug
         Environment: all
            Reporter: Gilles Gaillard


The FtpFileObject representing the top level directory on the server, return regular files
in the list of its children as being of type DIRECTORY.

The reason is in the implementation of method getInfo(boolean) which tries to use the parent
to retrieve this information. When not found, it returns FTPFile.DIRECTORY_TYPE.

The correction (and correct implementation) consists in implementing the method 'doListChildrenResolved()'
in the FtpFileObject, so that children of the top level directory are correctly provided with
the correct info.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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