How to detect timeout when connecting with TIdFTP?

I know that this is a FAQ, but I must have deleted the solution.

I have tried with

myIdFTP.readTimeout:= 15000; // try 15 s
myIdFTP.Connect(true);

but it keeps trying until a timeout exception is raised. I can't wait so
long as my app is a web app accessed with a browser.

Can you point me to a Indy FAQ?

Juha Mets?kallas

----
Juha.Metsakal...@Tietotoimi.fi