> 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 better to add the general SITE command, which can be used with a variety of arguments for specialised purposes that are listed in the FEAT list, ie. 211-Extension supported SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG 211 End Then your server control commands could be handled in a single event. If you don't so it meanwhile, I'll add SITE next week. I might even use it in some of my applications, currently I have a second private protocol running to get server status, restart and stop it, etc. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be