TidFTP.Compressor and MODE Z problem

Giganews Newsgroups
Subject: TidFTP.Compressor and MODE Z problem
Posted by:  Michael J. Leaver (spam@mjleaver.com)
Date: Wed, 08 Sep 2004

Hi, I'm trying to use the MODE Z option in Indy 10 on the FTP client
side. I'm creating the compressor property and setting the transfer mode:

var
  FFTPCompressor: TIdCompressorZLibEx;

  FTPCompressor:=TIdCompressorZLibEx.Create(FFTPClient.Owner);
  FTPClient.Compressor:=FFTPCompressor;
  FTPClient.TransferMode(dmDeflate);

but when I use this with the Raiden FTP V2.4 server the files transfer
to the server but they are corrupted.

Is there another setting somewhere, e.g. compression type, or do I need
to transfer files using a different method?

Thanks

Replies