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...
Disable Compression (MODE Z)
Moderators: Hacker, petermad, Stefan2, white
Disable Compression (MODE Z)
#106383 Windows 10 Pro 64-bit
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately you can currently only turn it on/off completely, not partially. I will consider your suggestion for a later version.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- PeaceMaker
- Senior Member
- Posts: 287
- Joined: 2005-12-31, 22:32 UTC
- Location: Warsaw, Poland
- Contact:
Re: Disable Compression (MODE Z)
Sounds interesting...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...
[face=tahoma]LICENSE NUMBER: #101897 Single user license (since: 6th February 2004)
CURRENT VERSION: Total Commander 9.00 beta 12 (released: 31st August 2016)[/face]
CURRENT VERSION: Total Commander 9.00 beta 12 (released: 31st August 2016)[/face]
Great...ghisler(Author) wrote:Unfortunately you can currently only turn it on/off completely, not partially. I will consider your suggestion for a later version.
A quick solution could be by making the ModeZ= setting in wcx_ftp.ini site specific?
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?PeaceMaker wrote:Sounds interesting...
DR...
#106383 Windows 10 Pro 64-bit
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanx for the tips!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.
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
DR...
#106383 Windows 10 Pro 64-bit