|Subject:||Re: FTP Server Timeout problem|
|Posted by:||Remy Lebeau \(TeamB\) (email@example.com)|
|Date:||Fri, 20 Jun 2008|
"oddy" <otomaze…@gmail.com> wrote in message
> But the Ftp Server even after one minute time out doesn't give me
> any message, testing the connection it shows me that it still active.
> How this could possible happen?
An abnormal socket disconnection can take a long time for the OS to detect -
up to several hours. Until the OS does detect it, it will not report any
errors for operations performed on the connection.
> Anyone have any idea how can I fix this problem?
In the OnConnect event, try setting the connection's ReadTimeout property to
a reasonable timeout value. Indy uses infinite timeouts by default.
FTP Server Timeout problem posted by oddy on Mon, 16 Jun 2008