Yes "-C" should work. You can add "-vvv" to have sysout trace where you can find for example :
Co:Z SFTP version: 3.6.0 (6.4p1) 2015-12-08 Copyright (C) Dovetailed Technologies, LLC. 2008-2014. All rights reserved. (.....) debug1: compress outgoing: raw data 105008594, compressed 1430152, factor 0.01 debug1: compress incoming: raw data 123765, compressed 28604, factor 0.23 (....) 2016-06-08 13:40 GMT+02:00 Dazzo, Matt < [email protected]>: > I have a request to see if we can turn on wire-compression for sftp. We > are using Cozbatch for SFTP (SSH), I have done some testing using the -C > parameter as shown below but I can't confirm if this is working? Would this > be correct? If not, can anyone shed some light on this? > > Thanks Matt > > Co:Z SFTP version: 2.4.4 (5.0p1) 2014-03-18 > Copyright (C) Dovetailed Technologies, LLC. 2008-2013. All rights reserved. > > $coz_bin/cozsftp $ssh_opts -b- -C $remoteuser@$server <<EOB > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
