[twsocket] Possible CliId duplication

2011-05-12 Thread Anton S.
In OverbyteIcsWSocketS unit, TCustomWSocketServer.TriggerSessionAvailable method, Client.FCliId is determined as incremental counter. But as this counter is resetted after $7F, it is possible that some client IDs are duplicated. Of course it would be a very rare case but it could lead to ser

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Francois PIETTE
Hello Fabrice, I can send you login and password to test on a private mail if you want. This FTP server (Filezilla) work fine with a filezilla client. I have received it and I was able to test your FTP server. I can reproduce the error and found what the error is. It was shown in all your mes

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Francois PIETTE
I can send you login and password to test on a private mail if you want. OK ! Is this occuring with all FTP servers ? And as I said before, does it occur with ICS demo ? Send me your source code (Complete project but minimal source code to reproduce the issue), I'll compile and try it and wil

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Arno Garrels
Fabrice Vendé wrote: > I have just tested on Delphi XE with exactly the same result ! I use current TFtpCli in production without a problem so far. Also I just did a test with the OverbyteIcsTst demo and was not able to reproduce the issue: < 220 Welcome to xyz FTP service. Session Connected, e

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Fabrice Vendé
Le 12/05/2011 17:42, Francois PIETTE a écrit : I have tested your code and it works perfectly from here. Here is the log using YOUR code and ICS-V7 updated form SVN repository right now: I have downloaded and installed the last update (http://wiki.overbyte.be/arch/icsv7w.zip) on my Delphi 201

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Francois PIETTE
When are you doing the "PUT"? In that routine after the "CWD" Yes in the routine after the "CWD" like I do on FTP server which allows active mode. I don't use Event "TftpClient.OnRequestDone". Must I wait for something ? No because you are using the synchronous version of the functions. Usuall

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Francois PIETTE
I have tested your code and it works perfectly from here. Here is the log using YOUR code and ICS-V7 updated form SVN repository right now: I have downloaded and installed the last update (http://wiki.overbyte.be/arch/icsv7w.zip) on my Delphi 2010. And I have exactly the same problem. TftpCli

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Fabrice Vendé
Le 12/05/2011 17:09, Graham Powell a écrit : When are you doing the "PUT"? In that routine after the "CWD" Yes in the routine after the "CWD" like I do on FTP server which allows active mode. I don't use Event "TftpClient.OnRequestDone". Must I wait for something ? I have tried to add : wh

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Graham Powell
When are you doing the "PUT"? In that routine after the "CWD" or are you waiting for the RequestDone from the "CWD"? Graham -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Fabrice Vendé Sent: 12 May 2011 15:40 To: ICS support mailing

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Fabrice Vendé
Le 12/05/2011 14:20, Francois PIETTE a écrit : I have tested your code and it works perfectly from here. Here is the log using YOUR code and ICS-V7 updated form SVN repository right now: Hello Francois, I have downloaded and installed the last update (http://wiki.overbyte.be/arch/icsv7w.zip)

Re: [twsocket] TFtpCli and FTP server in passive mode

2011-05-12 Thread Francois PIETTE
I have tested your code and it works perfectly from here. Here is the log using YOUR code and ICS-V7 updated form SVN repository right now: < 220-FileZilla Server version 0.9.24 beta < 220 Micro$oft free USER fpiette < 331 Password required for fpiette PASS *** < 230 Logged on CWD