You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Gilles Gaillard (JIRA)" <ji...@apache.org> on 2007/04/06 20:11:32 UTC

[jira] Created: (VFS-124) [FTP Provider] Regular Files in the top level directory on the server are viewed as folders.

[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