Re: idftp mode z bug

Giganews Newsgroups
Subject: Re: idftp mode z bug
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Wed, 25 Mar 2009

"Theart" <nyxsn…@126.com> wrote in message
news:5CDD4EB90D7BE340nyxsn…@126.com...

> idftp1.TransferMode(dmDeflate);
> idftp1.Compressor :=  IdCompressorZLib1;

You need to assign the Compressor before changing the TransferMode, not
after.  If the Compressor is not assigned, setting the TransferMode to
dmDeflate will not do anything.

--
Remy Lebeau (TeamB)

Replies

In response to

idftp mode z bug posted by Theart on Wed, 25 Mar 2009