Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : ICS FTP Client V2.108
| Subject: | ICS FTP Client V2.108 |
| Posted by: | "Graham Powell" (grah..@deephaven.co.uk) |
| Date: | Fri, 26 Jan 2007 16:36:24 |
I have been using this component for years now without any problems
connecting to a specific FTP server running locally.
My new requirement is to continually poll a directory on a specified FTP
server every 3 or 4 seconds that could be anywhere in the world. I have been
experimenting with 3 FTP sites and all give the same problem so I am
beginning to suspect the ICS FTP client component although I don't rule
anything out.
The problem I get is that after some period of time (maybe a few minutes)
the whole sequence just stops. I have put the Ethereal network sniffer on
the monitor what is going on and see the following. The FTP client initiates
a LIST command and after a couple of transactions the FTP Server send a 150
Opening Data Connection message. This is normally followed immediately (1 or
2 mS) by the data, but when it goes wrong the data doesn't arrive and after
some period of time (approx 150mS) the FTP client sends the final FTP ACK
message as if the whole LIST command has completed. Consequently no
ResponseDone event is generated.
So is this a problem with the FTP client or is the FTP server not sending
the data quick enough so the FTP client times out and finishes the
transaction without generating an event.
Any help much appreciated
Graham