Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: FTP in Thread

www.cryer.info
Managed Newsgroup Archive

Re: FTP in Thread

Subject:Re: FTP in Thread
Posted by:"Francois Piette [ICS & Midware]" (francois.piet..@overbyte.be)
Date:Mon, 10 Apr 2006 16:51:18

> I removed all the threading code and created two applications, one the FTP
> Server and the other the FTP Client. I could not get this to work due to
the
> time outs and then sometimes getting the stack dumps that I have shown in
> previous threads.

If you don't one to use multithreading and still be able to use a single
application having both FTP server and FTP client, then use ICS instead of
Indy. ICS has an asynchronous operating mode which let your application do
other things while communication take place. To have both client(s) and
server(s) in same program, just drop both components on a form and write a
few lines of code and event handlers. The components will multitask for you
automatically !

ICS is freeware with full source code. Download from http://www.overbyte.be.
Have a look at the FtpTst and FtpServ demos. Subribe to the support mailing
list if you have questions.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive