Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: FTP in Thread
| Subject: | Re: FTP in Thread |
| Posted by: | "sham" (shamre..@inspirationmatters.com) |
| Date: | Mon, 10 Apr 2006 16:00:24 |
Thanks Francois (I have to get my postcard out to you),
I am currently exprimenting with ICS but the problem is we need blocking
components. The mulithreading side of the code works well and with the
timescales involved we cannot change the current model. To be honest when we
tested the indy client against the ICS ftp server, we saw exceptionally fast
transfers.
However, as I have been trying to find the answer to for over a week, I get
some weird errors even if I lose the multithreading and just try simple demo
apps with INDY. The problem must be with my environment since I cannot see
how it could be a problem with the INDY components as it would have been
reported by now.
At the moment I am using ICS for my FTP server and moving Synapse for the
ftp client.
Sham.
"Francois Piette [ICS & Midware]" <francois.piette@overbyte.be> wrote in
message news:443a7075@newsgroups.borland.com...
>> 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.
>
> --
> Contribute to the SSL Effort. Visit
> http://www.overbyte.be/eng/ssl.html
> --
> francois.piette@overbyte.be
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be