Re: [twsocket] Using the SslFTPClient

2018-01-10 Thread Angus Robertson - Magenta Systems Ltd
> I have 2 ftp components and both are logged into the server. The > first just does a LIST command every 3 seconds. The second does > the GET commands. > After 198 GETs I receive and error 10054. I re-connect both ftp > clients and after a further 198 GETs the same thing happens again. So you

Re: [twsocket] Using the SslFTPClient

2018-01-10 Thread Graham Powell
1: The PROT issue is indeed irrelevent, but a simple fix at least lets you know if PROT is supported. Something like this maybe, so long as ftpFeatProt is added to the set:     if Pos('PROT', Feat) = 1 then begin     if Feat = 'PROT' then    

Re: [twsocket] ICS OnDataAvailable

2018-01-10 Thread Wilfried Mestdagh
Hi Alessandro, No that is not a problem and the right way to synchronize data between threads. Met vriendelijke groeten, Wilfried Mestdagh Op 10-01-18 om 09:07 schreef Alessandro Miorelli: Hi Wilfried, Thank you, now I understand. One question again: I call PostThreadMessageA or

Re: [twsocket] ICS OnDataAvailable

2018-01-10 Thread Alessandro Miorelli
Hi Wilfried, Thank you, now I understand. One question again: I call PostThreadMessageA or PostMessage in the OnDataAvailable Is it a problem? Regards Ing. Alessandro Miorelli Software Engineer Microgate S.r.l. Via Stradivari 4 39100 Bolzano (BZ) Italy www.microgate.it Tel. +390471501532