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:"sham" (shamre..@inspirationmatters.com)
Date:Wed, 12 Apr 2006 08:08:36

Hi Martin,

I was certain I was doing something silly. Thank you so much for spending
time to test.

I did put the server on a different machine and I got the same problem
intermittently.

Tried Sleep in the past and once again I go the timeouts intermittently.

I have lost about two weeks work with this problem and as I mentioned in a
previous post, an INDY client with an ICS FTP server were faster in my tests
but once again the timeouts occurred. At the moment I am using Synapse which
does the job.

Sham.

"Martin James" <mjames_falcon@dial.pipex.com> wrote in message
news:443c3132$1@newsgroups.borland.com...
> Still looking at this but, FYI, I can reproduce exactly what you are
> seeing
> with 9.0.14 and 9.0.18 - readTimeouts without any just cause.  Adding a
> sleep(0) in the client loop fixes, or at least covers up, the problem.
>
> It's not just you :)
>
> I, too, suspect that the problem is in the server.  It's as if it has to
> do
> something after one FTP before another will successfully start.  The
> sleep(0) allows this to happen on a single-processor box.  My guess is
> that
> this problem will not happen if the server/client are run on different
> processors/boxes.  I'm going to try that next, just to see.
>
> Rgds,
> Martin

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive