Re: Connect - Invalid host name - WeOnlyDo Discussion board

Re: Connect - Invalid host name (General questions)

by wodSupport, Monday, April 10, 2006, 12:23 (6616 days ago) @ Iulian

Iulian,

this is by design - component didn't start the connection at all since it cannot resolve the hostname. So, you must add the code to catch the exception.

Similar thing is in, for example, PutFile when local file doesn't exist - exception will be thrown (well, it is visible as exception in Delphi) instead of Done event. That's because internal protocol didn't even start - since error occurred much sooner.

Hope I helped.
Kreso


Complete thread: