Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: Indy 10 FTP large files hangup
| Subject: | Re: Indy 10 FTP large files hangup |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 18 Dec 2007 02:22:43 |
"Hans Frensen" <hfrensen@trombosedienst-denhaag.nl> wrote in message
news:47678446$1@newsgroups.borland.com...
> I cannot change the behavior of the FTP server.
Perhaps not. But you can sniff its packets to determine if it really is a
bug on the server side, or a bug in TIdFTP.
> Is there a setting in indy FTP I can use to disconnect
> and reconnect when such a hangup occurs?
The closest you can get is to use the ReadTimeout and TransferTimeout
properties, and then call Disconnect() and Connect if a timeout exception
occurs.
Gambit