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:Tue, 11 Apr 2006 10:27:44

Hi Guillem and Martin,

I have put an attachment titled "FTP Problem for Martin and Guillem" in
borland.attachments. Consists of a simple ftp server with
onAuthenticateEvent and onStoreFileEvent implemented.
On the client, I send 100 files.

Guillem, since the problem was with OnStoreFileEvent, I implemented the
OnRetrieverFileEvent and still got the same problem.

On the client, I get Read time outs after a few files are sent.

Martin, from the stack dumps the problem looked as though it was with the
indy server (connection timing out), but when I replaced the FTP server with
GuildFTP, it seemed to work.

At the moment to resolve these issues, for our commercial product we are
using ICS as my FTP Server and Synapse for the client (i.e. needed blocking
clients that would work in our threaded design).

Sham.

"Guillem" <guillemvicens-nospam@clubgreenoasis.com> wrote in message
news:xn0ekukre2jpd0000@newsgroups.borland.com...
> sham wrote:
>
>> Hi Guillem,
>>
>> Thank you very much for trying to help me out.
>>
>> I have tried passive mode and binding and yet I still have
>> ReadTimeOut problems.
>
> with readtimeout 60000?
>
>>
>> As I have mentioned in my previous threads, all I have on the server
>> side is the OnStoreFileEvent.
>
> in my experience a tidFTPServer won't work properly if OnStoreFile or
> OnRetrieveFile handlers are *not* implemented. Just try adding the code
> i gave you
>
>>
>> On the client side, I try to upload 100 files in a loop. That is all.
>
> have you tried with 1? With 5?
>
>
>>
>> If you would like to see my code, I can send you the two projects
>> (ftp server and ftp client) to see if you can help me detect where
>> the problem is.
>>
>
> if you wish so you can zip them and post them to b.p.attachments. I
> will have a look at them
>
> --
> Best regards :)
>
> Guillem Vicens Meier
> Dep. Informatica Green Service S.A.
> www.clubgreenoasis.com
> --
> In order to contact me remove the -nospam

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive