No Timeout when Connecting to an Unavailable Host

If the Transfer Engine's Connection method refuses to timeout when connecting to a non-existing or temporarily unavailable host, try setting the throw error to true.  The Connection method does not have a built-in timeout value. It will keep trying to connect indefinitely. Because the event is synchronous, subsequent lines in the script, including conditional statements for determining the connection status of the TE, never get called.

Examples:

A few possible workarounds, and help for accepting and rejecting certificates:

MySite.Option("AutoCloseMethod") = 2 '1 - auto accept, 2 - auto reject, 0 - default no auto

MySite.Option("AutoCloseDelay") = 12 ' default value is 60 sec

Set Option("AutoCloseMethod") property to 1 or 2 in order for script can continue its processing:

MySite.Option("AutoCloseMethod") = 1 will auto accept cert and continue

MySite.Option("AutoCloseMethod") = 2 will auto reject cert and finish with error

MySite.Option("AutoCloseMethod") = 0 default: will not close prompt on timeout