Re: Readtime exception

Giganews Newsgroups
Subject: Re: Readtime exception
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 26 Jun 2007

"Tim" <tim.f…@orcus.co.uk> wrote in message
news:CFDC0809782BE340tim.f…@orcus.co.uk...

> Whats the best way of handling and / or preventing EIDReadtimeout
> Exceptions when using TIDFTP?

There isn't any to prevent it.  A timeout is a timeout.  If it happens
then it happens.  The only option is to handle it, via a try..except
block like any other exception.

Indy uses infinite timeouts by default, so any exceptions that are
raised would normally be true socket errors or processing errors.

Gambit

Replies

In response to

Readtime exception posted by Tim on Tue, 26 Jun 2007