[DUG] Indy FTP problem

Dave O'Brien dave at ICCS.CO.NZ
Wed May 31 14:30:56 NZST 2006


I understand that viewpoint. This app uploads a number of files
(unknown) to the server on completion of some other processing. What
happens if the server goes away during this upload?

David O'Brien

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Leigh Wanstead
Sent: Wednesday, 31 May 2006 2:18 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] Indy FTP problem

Hi David,

Here is what I will do.

I will not stay idle while connect to ftp. I will start transaction if I
have something to do i.e. get a file, put a file. Once finish what I
want, I
will disconnect immediately from the ftp server.

All network connections are valuable and limited resource which should
be
shared.

Just my 2cents

Regards
Leigh
www.smootharm.com


-----Original Message-----
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Dave O'Brien
Sent: Wednesday, 31 May 2006 1:47 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Indy FTP problem


I'm having a problem with FTP in one of my apps. (First time with an FTP
client).

Using Indy 10 on 2005.

If the server times out (broken Internet connection or whatever), the
client never knows, and if the user attempts to do something, an error
occurs. I can trap the error, but I can't work out what to do to reset
the idFTP component. Disconnect, quit and anything else I can think of
just keep throwing errors.

I can easily test this by shutting down my FTP server when the client is
connected.

Any ideas?

Regards,
David O'Brien


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi



More information about the Delphi mailing list