Re: IdFTP + Threads

Giganews Newsgroups
Subject: Re: IdFTP + Threads
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 2 Feb 2005

"Paulo Germano" <pg…> wrote in message

> the FTP Client have an IDENT server runing.
> When the IdFTP connects to the server.... the server sends
> an IDENT request. But my application is frozen because the
> IdFTP is still waiting for some response from the server. Since
> the application is frozen, the IDENTServer cannot repply to
> the ident request.

Put the TIDFTP and the IDENT server in separate threads.

> Is there anyway to make ALL IdFTP actions to be made in a thread ?

Simply derive a new class from TThread, override its Execute() method, and
perform all of your TIdFTP operations from there.




In response to

IdFTP + Threads posted by Paulo Germano on Wed, 02 Feb 2005