Angus Robertson - Magenta Systems Ltd a écrit :
>>those are not FTP commands, but some Application specific commands.
>>In fact, I'm making a service based on a FTP server. For example,
>>commands are RESTART, RELOAD, and other more specific to my
>>application.
>>
>>
>
>Rather than adding
> those are not FTP commands, but some Application specific commands.
> In fact, I'm making a service based on a FTP server. For example,
> commands are RESTART, RELOAD, and other more specific to my
> application.
Rather than adding private commands to the FTP server, I think it would
be much
>Except that using TList complicates the code unnecessarily since the
>memory needs to be freed at some point, and it will lead to more changes
>in the source code, that need to be properly tested, all so we can
>continue to support compilers obsoleted six years ago.
>
>
The changes needed s
> I very much prefer using a TList. That avoid any conditional compile.
Except that using TList complicates the code unnecessarily since the
memory needs to be freed at some point, and it will lead to more changes
in the source code, that need to be properly tested, all so we can
continue to su
> > - why 5? while it seems there're only two new commands for SSL (AUTH
> > and PROT) which are not added to the FCmdTable with AddCommand
> > (at least in TFtpServer)
>
> Can not recall exactly why I added that comment, except without adding
> five the array was too much. It could be the com
>It is because of SSL, there are more commands.
>
>
how are they added to the FCmdTable? using AddCommand or with direct
access to FCmdTable?
(I do not have the SSL source code)
>>- why 5? while it seems there're only two new commands for SSL (AUTH
>>and PROT) which are not added to the F
> - why two declarations? (may be for SSL but it seems not)
It is because of SSL, there are more commands.
> - why 5? while it seems there're only two new commands for SSL (AUTH
> and PROT) which are not added to the FCmdTable with AddCommand
> (at least in TFtpServer)
Can not recall exact