Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#4

Re: Indy FTP Client Read Error (TidFTP)

  Alt 24. Jan 2008, 13:34
Hello again,


I'm not sure if we can catch the problem just by increasing the timeout value.
The problem is that your application does not know if it is blocked by a firewall
or the ip connection is down or something else.

A better approach might be to act on the Exception EidReplyRFCError or EidReadTimeout.
Then you start the transfer again, or you can pop up a message
that a problem has occured and the user has to check this and that.
After the message has been acknowledged the application can try to
do the transfer again.

In that case the user has enough time to allow the firewall to pass the
ftp transfer.

Bye,
Klaus
Klaus
  Mit Zitat antworten Zitat