[ http://issues.apache.org/jira/browse/VFS-83?page=all ]
Mario Ivankovits resolved VFS-83.
---------------------------------
Resolution: Fixed
Fixed.
Thanks for reporting it!
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]