Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
all
Description
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.