Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Indy 10 FTO and large files
| Subject: | Re: Indy 10 FTO and large files |
| Posted by: | "KarlLogan" (karl_log..@yahoo.com) |
| Date: | Tue, 12 Feb 2008 22:09:42 |
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:47b1eb3c$1@newsgroups.borland.com...
>
>
> That is normal behavior if you are using TIdFTP in the context of the main
> thread.
It is being used from within a secondary thread. When I say "gets blocked",
I mean, **that thread** is waiting infinilty ater the put command sometimes
(especially behind a NAT, but not only). Incresing the timeout property on
the **server*** does helps, so I'm guessing that if the put operation needs
long time, the server is timing out while the data channel is working. Is
that posible? Can I send some keep alive command somehow while the
datachannel is uploading? And how?