Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: Indy 10 FTP large files hangup

www.cryer.info
Managed Newsgroup Archive

Re: Indy 10 FTP large files hangup

Subject:Re: Indy 10 FTP large files hangup
Posted by:"Andreas Stroebel" (suppo..@ascomp.de)
Date:Wed, 19 Dec 2007 02:26:56

> 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.

It's a bug in TIdFTP. Occured on my own FTP server and on several customer's
FTP servers, too.

> The closest you can get is to use the ReadTimeout and TransferTimeout
> properties, and then call Disconnect() and Connect if a timeout exception
> occurs.

Doesn't help. I'm using 10000 for read and transfer timeout, but it doesn't
have any effect. It just hangs.

OnWorkEnd will be called after the entire file has been uploaded, but
nothing else happens any more. You can wait hours, nothing will happen. ;-)

Any hints are very appreciated!

Best regards,

Andy

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive