commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Kabaara (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-83) SFTP - FileSystemOption 'compression' is set to value of 'strictHostKeyChecking'
Date Thu, 28 Sep 2006 14:12:50 GMT
SFTP - FileSystemOption 'compression' is set to value of 'strictHostKeyChecking'
--------------------------------------------------------------------------------

                 Key: VFS-83
                 URL: http://issues.apache.org/jira/browse/VFS-83
             Project: Commons VFS
          Issue Type: Bug
         Environment: All
            Reporter: Colin Kabaara


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!!
            }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message