Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-171

NativeFileSystemView.getFileObject(String file) and case sensitivity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0-M3
    • Core
    • None
    • Linux (or other case sensitive filesystems)

    Description

      NativeFileSystemView.getFileObject(String file) currently doesn't pass the caseInsenstive instance variable to NativeFileObject.getPhysicalName(rootDir, currDir, file)

      As a result, Ftp "GET" arguments have to be in the correct case when the server is running on a case-sensitive filesystem.

      Changing it to NativeFileObject.getPhysicalName(rootDir, currDir, file, caseInsensitive) will resolve this.

      Regards,
      Carl

      Attachments

        1. NativeFileSystemView.java.patch
          0.6 kB
          Carl Bunting

        Activity

          People

            niklas Niklas Therning
            carlbunting Carl Bunting
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified