Many thanks, today I managed to raise an exception in CommandPASV(), "port in use". The port table reported the port as free, although the server actually was listening on that port. I was clicking around in multiple FTP clients when that happened. Unfortunately, subsequently I wasn't able to reproduce the same error again. But there must be a rare condition that causes the port to be removed from the table even though the socket is still listening and not closed, very strange, I tried 2 hours until a gave up.
-- Arno Angus Robertson - Magenta Systems Ltd wrote: > There is a new release of the ICS V6 FTP client and server components > today, a zip may be downloaded from the ICS page at my web site: > > http://www.magsys.co.uk/delphi/magics.asp > > There are various new bug fixes in the December changes. > > OverbyteIcsWSocketS has new Disconnect(Client) and DisconnectAll > functions. > > OverbyteIcsStreams has a bug fix to stop a permanent loop condition. > > The FTP client now uses a TFileStream to download or upload a > temporary Mode Z file instead of TMemoryStream, which on high band > connections is up to 20 times faster (not using Fastmm4). > > The FTP client test program now supports bandwidth restriction, which > can be useful for testing on a LAN where things happen so fast. > > The FTP server passive port pool now allocates ports sequentially > instead of immediately re-using the same ports, which seems to be > more firewall friendly. > > The new SocketServer based FTP server has some missing functionality > added and should now be the same standard as the existing FTP server, > but I've not yet used in my commercial applications. > > Arno's new FTP server that listens on multiple IP addresses and ports > simultaneously has been added to this distribution, and has fixes from > the original FTP server rolled in. > > Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be