I'm using WeBuilder 6.2 and fortunately haven't met this issue so far, but...
I can't actually see into your code but as I see the FTP is handled in several seperate threads (I see the number of threads increase in the Taskmanager when connecting to an FTP site). Thus I would say maybe a more "brutal" thread terminating method would solve this.
I mean sometimes the
Terminate method of a
TThread might not be enough due to the fact that it actually does nothing besides setting the
Terminated property to
True which is only a sign to the thread code itself to stop itself
On the other hand there's the very effective basic Win32 API call
TerminateThread which shoots first and then asks questions.
Sorry for poking my nose into your coding, but these problems really annoy me too as a programmer as well as an everyday user. I'm ofcourse only guessing that you are developing in Delphi
Btw. answering a lot of posts before: yes it is likely that this issue is caused by one (or more) specific behavior of the FTP server but even thus the program should be able to avoid hanging and produce an error message instead