Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Indy 10 FTO and large files

www.cryer.info
Managed Newsgroup Archive

Re: Indy 10 FTO and large files

Subject:Re: Indy 10 FTO and large files
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 12 Feb 2008 10:54:18

"KarlLogan" <karl_logan@yahoo.com> wrote in message
news:47b18c56@newsgroups.borland.com...

> Using the latest indy snapshot to upload some files. Works great
> almost always, but some users are reporting that, when they upload
> large files, the application gets blocked.

That is normal behavior if you are using TIdFTP in the context of the main
thread.  To prevent the blocking, you will have to either put a
TIdAntiFreeze component onto the TForm, or else move your TIdFTP code to a
separate worker thread.

> The file is uploaded OK, but it's like the command channel has
> timed out and is waiting for response.

It has not timed out, but it does wait for a response after the transfer is
finished, yes.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive