> I dynamically create an instance of TFtpClient and try to connect to a host
> using the synchronous method. Then The user closes my sub form and thus
> deletes the FTP client object. If the connection cannot be established,
> e.g. due to a false IP, my code runs on to handle this, as if the FTP
>
Hello Jan,
I think you better use the async methods then you never will have sutch
problems. If you use sync then you have to take all that into account
because the code is looping whilst waiting for a result.
If you want to stay sync then call the Abort method, but I dont know if
you should call
Hello,
I dynamically create an instance of TFtpClient and try to connect to a host
using the synchronous method. Then The user closes my sub form and thus
deletes the FTP client object. If the connection cannot be established,
e.g. due to a false IP, my code runs on to handle this, as if the FTP
c