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

SFTP - FileSystemOption 'compression' is set to value of 'strictHostKeyChecking'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      All

      Description

      In org.apache.commons.vfs.provider.sftp.SftpClientFactory, 'compression' parameter is set to the value of the 'strictHostKeyChecking' FileSystemOption.

      //set StrictHostKeyChecking property
      String strictHostKeyChecking = SftpFileSystemConfigBuilder.getInstance().getStrictHostKeyChecking(fileSystemOptions);
      if (strictHostKeyChecking != null)

      { config.setProperty("StrictHostKeyChecking", strictHostKeyChecking); }

      //set compression property
      String compression = SftpFileSystemConfigBuilder.getInstance().getCompression(fileSystemOptions);
      if (compression != null)

      { config.setProperty("compression.s2c", strictHostKeyChecking); // compression!! config.setProperty("compression.c2s", strictHostKeyChecking); // compression!! }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ckabaara Colin Kabaara
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: