Page 1 of 1

Disable Compression (MODE Z)

Posted: 2007-01-12, 16:20 UTC
by DarkRuleR
Hi...

Is it possible to disable compression (MODE Z) in the ftp client for certain parts?

I like mode z for directory listing compression but not all the time for downloading compression.

When downloading allready compressed files like .rar files I get a higher download ratio when I turn OFF compression mode z.
(tested with flashfxp)

Greetz!

DR...

Posted: 2007-01-12, 19:33 UTC
by ghisler(Author)
Unfortunately you can currently only turn it on/off completely, not partially. I will consider your suggestion for a later version.

Re: Disable Compression (MODE Z)

Posted: 2007-01-12, 23:40 UTC
by PeaceMaker
DarkRuleR wrote:Hi...

Is it possible to disable compression (MODE Z) in the ftp client for certain parts?

I like mode z for directory listing compression but not all the time for downloading compression.

When downloading allready compressed files like .rar files I get a higher download ratio when I turn OFF compression mode z.
(tested with flashfxp)

Greetz!

DR...
Sounds interesting...

Posted: 2007-01-13, 16:26 UTC
by DarkRuleR
ghisler(Author) wrote:Unfortunately you can currently only turn it on/off completely, not partially. I will consider your suggestion for a later version.
Great...
A quick solution could be by making the ModeZ= setting in wcx_ftp.ini site specific?
PeaceMaker wrote:Sounds interesting...
If you're downloading data allready compressed with for example rar I quess the data cant be compressed much more so on-the-fly compression works as a disadvantage?

DR...

Posted: 2007-01-14, 14:39 UTC
by ghisler(Author)
2DarkRuleR

Perhaps the following helps:
wcx_ftp.ini, [General]

ZlibRatioBin=3 0..9:
zip library compression ratio for uploads. 0=none, 1=fastest, 9=strongest

ZlibRatioTxt=3 0..9: same as zlibratiobin, but for text files. You may want to set a higher value here, because text files usually compress better. Attention: The Cisco PIX firewall dislikes strength 1, and aborts the upload

Try setting ZlibRatioBin to 0. This way, only text files will be compressed, including directories.

Posted: 2007-01-20, 12:24 UTC
by DarkRuleR
ghisler(Author) wrote:2DarkRuleR

Perhaps the following helps:
wcx_ftp.ini, [General]

ZlibRatioBin=3 0..9:
zip library compression ratio for uploads. 0=none, 1=fastest, 9=strongest

ZlibRatioTxt=3 0..9: same as zlibratiobin, but for text files. You may want to set a higher value here, because text files usually compress better. Attention: The Cisco PIX firewall dislikes strength 1, and aborts the upload

Try setting ZlibRatioBin to 0. This way, only text files will be compressed, including directories.
Thanx for the tips!

I've tried them and this was my result:

Code: Select all

Internet Connection: 10240 / 1024 Kbps

Data: RAR compressed movie
Download: 50.000.000 bytes, 1030.0 kbytes/s       ModeZ=0
Download: 50.000.000 bytes, 821.6 kbytes/s        ModeZ=1

Data: RAR compressed movie
Upload:   15.000.000 bytes, 105.9 kbytes/s        ZlibRatioBin=0
Upload:   15.000.000 bytes, 105.5 kbytes/s        ZlibRatioBin=1
Upload:   15.000.000 bytes, 103.9 kbytes/s        ZlibRatioBin=5
Upload:   15.000.000 bytes, 104.0 kbytes/s        ZlibRatioBin=9

Data: Text file with motherboard documentation and random data
Upload:    1.000.000 bytes, 385.4 kbytes/s        ZlibRatioTxt=0
Upload:    1.000.000 bytes, 383.5 kbytes/s        ZlibRatioTxt=1
Upload:    1.000.000 bytes, 383.5 kbytes/s        ZlibRatioTxt=5
Upload:    1.000.000 bytes, 385.8 kbytes/s        ZlibRatioTxt=9
Greetz!

DR...