Re: Exception on Transfertimeout on IDFTP

Giganews Newsgroups
Subject: Re: Exception on Transfertimeout on IDFTP
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Tue, 6 Feb 2007

"Cees Glas" <nospam@nospam.com> wrote in message
news:D5DB1626F419E340nospam@nospam.com...

> Why isn't the exception for transfertimeout thrown?

All TransferTimeout does is sets the ReadTimeout on the data
connection.  ReadTimeout is not an absolute timeout.  It specifies the
number of milliseconds between individual bytes, not for the entire
operation as a whole.  As long as the server is sending 1 byte every
60000 ms or less, no timeout exception will be raised.

Gambit

Replies

In response to

Exception on Transfertimeout on IDFTP posted by Cees Glas on Tue, 6 Feb 2007