Anton Sviridov wrote: > Hello! > I've found that when connecting RequestDone is executed twice with > FRequestType = ftpConnectAsync. > I use the following command to login: > > HighLevelAsync(ftpConnectAsync, [ftpFctOpen, ftpFctAuth, ftpFctUser, > ftpFctPass, ftpFctAcct, ftpFctSyst, ftpFctFeat]); > > and RequestDone is called 1st time when connection to server is > established, and 2nd time when all requests up to FEAT are sent and > answered. My question: is there a way to distinguish these two cases > from within WMFtpRequestDone?
>From memory, if you call HighLevelAsync with a custom set it's likely that you have to handle this in TCustomFtpCli.DoHighLevelAsync as well. -- Arno Garrels -- 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