Re: IdFTP + Threads

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

"Paulo Germano" <pg…@bol.com.br> wrote in message
news:F2D9B11A2FBEE240pg…@bol.com.br...

> 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.

Gambit

Replies

None

In response to

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