Zlib compression support

May 14, 2013 at 10:11 PM
Edited May 14, 2013 at 10:14 PM
Will SSH.NET support Zlib compression anytime soon? A SFTP server that I connect to require Zlib compression and SSH.NET gives error "Compression algorithm not found."

Is there a way for client to tell server disabling compression for the connection?

I would be happy to try out if there is an alpha version available. Thanks.
May 16, 2013 at 10:38 PM
I followed the last comment mentioned in Issue 219, and I am able to get zlib compression working. Thanks olegkap! By the way, in addition to uncommenting lines in Zlibstream.cs, I also have to update variable CompressionAlgorithms in ConnectionInfo.cs.
Sep 10, 2014 at 8:06 PM
Thanks so much for this! I spent forever trying to get it working but didn't read carefully enough... For anyone reading this, don't forget to uncomment those two lines in ConnectionInfo.cs (CTRL-F "this.CompressionAlgorithms").