Re: [twsocket] TWsocket server client list Error

2006-10-11 Thread Miguel Ca
Hi Wilfried Sorry but I didn-t have time to do a test program, I am in a dead line and I have another errors to fix too but this one is critical to me because the service is starting to loose connections. Let me explain better: 1. The connections Startt to grow because of the processing time

Re: [twsocket] How to add custom commands to derived classes of TFtpServer

2006-10-11 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >>> Because ICS has to support versions of Delphi that don't support >>> dynamic arrays. >> >> But any Delphi version supports conditional compilation, which >> is already used in ICS frequently, no big deal. > > Sure you can add conditional code, prov

Re: [twsocket] How to add custom commands to derived classesofTFtpServer

2006-10-11 Thread Francois Piette
> Personnaly I'm quite happy for old compilers to be abandoned, but it's > Francois's decision and he's not removed any old code yet. I already started removed some old code but not that much. Removing old code make difficult updating both sources with same features. I'm waiting that everyone agre

Re: [twsocket] How to add custom commands to derived classes ofTFtpServer

2006-10-11 Thread Angus Robertson - Magenta Systems Ltd
> > Because ICS has to support versions of Delphi that don't support > > dynamic arrays. > > But any Delphi version supports conditional compilation, which > is already used in ICS frequently, no big deal. Sure you can add conditional code, provided the new commands you want to add using the d

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-11 Thread Francois Piette
> Thanks for all your help, guys. Yes that makes a lot of sense. I didn't > realise CWD only changed directory RELATIVE to the current directory. Not exactly. CWD change directorie according to what you pass as argument. If you pass an absolute directory, so does it change. If you pass a relativ

Re: [twsocket] How to add custom commands to derived classesofTFtpServer

2006-10-11 Thread Francois Piette
> At least it can be easily changed in > V6 w/o any additional defines. Agreed. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Wednesday, October 11, 2006 12:29 PM Subject: Re: [twsocket] How to

Re: [twsocket] How to add custom commands to derived classes ofTFtpServer

2006-10-11 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> Why is FCmdTable declared as static array instead of dynamic > > Because ICS has to support versions of Delphi that don't support > dynamic arrays. But any Delphi version supports conditional compilation, which is already used in ICS frequently, n

Re: [twsocket] How to add custom commands to derived classes of TFtpServer

2006-10-11 Thread Angus Robertson - Magenta Systems Ltd
> Why is FCmdTable declared as static array instead of dynamic Because ICS has to support versions of Delphi that don't support dynamic arrays. You won't find dynamic arrays anywhere is ICS, nor any language improvements added in the last seven or more years. > Also, why is it required to al

[twsocket] How to add custom commands to derived classes of TFtpServer

2006-10-11 Thread Arno Garrels
Hello, Why is FCmdTable declared as static array instead of dynamic which does not allow reallocation, for instance in an overridden constructor? FCmdTable : array [0..ftpcLast+5] of TFtpSrvCommandTableItem; { angus V1.39 } Also, why is it required to allocate + 5 items? --- Arno Garrels [Tea

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-11 Thread DZ-Jay
On Oct 11, 2006, at 03:15, rick cusimano wrote: > Thanks for all your help, guys. Yes that makes a lot of sense. I > didn't > realise CWD only changed directory RELATIVE to the current directory. > > I've tried adding a '/' to the start of the path, but that didn't work. > I've also tried a '\

Re: [twsocket] problem using UDP

2006-10-11 Thread rajan
Hi, Thanks for your reply. FYI, I am running the application in two different machine. How can I receive the data when the localport and port are different.? It happens only when I run one application. why the sending program data loopback? Can't we avoid it? Any help? Best regards, Rajan ___

Re: [twsocket] How to handle a failed CWD with FTPClient...

2006-10-11 Thread rick cusimano
Thanks for all your help, guys. Yes that makes a lot of sense. I didn't realise CWD only changed directory RELATIVE to the current directory. I've tried adding a '/' to the start of the path, but that didn't work. I've also tried a '\', but that didn't work either. Whats the easiest way of