Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-124

[FTP Provider] Regular Files in the top level directory on the server are viewed as folders.

    XMLWordPrintableJSON

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.

      Attachments

        1. FtpFileObject.java
          20 kB
          Gilles Gaillard

        Activity

          People

            Unassigned Unassigned
            gillouxgaillard@wanadoo.fr Gilles Gaillard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: