Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: IdFTP.Get hangs.

www.cryer.info
Managed Newsgroup Archive

Re: IdFTP.Get hangs.

Subject:Re: IdFTP.Get hangs.
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 20 Apr 2007 15:22:56

"Ken Davis" <kend@co.sangamon.il.us> wrote in message
news:462938ee$1@newsgroups.borland.com...

> Does anyone know what I can do about .get never returning.  The
> OnWorkEnd event triggers but Get never returns control back
> to my application.

Then you are likely connected to a server that is not following the
FTP standard properly and Get() is waiting for an expected reply that
the server never sends.

> I have read somewhere about the control channel closing but
> I am not sure?

If that were the case, you would be getting a raised exception.

> I had the same problem with Indy 9 on Delphy 7.

Then it is definately related to which server you are connecting to.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive