On Thu, Oct 16, 2008 at 3:28 PM, Jeroen Cranendonk <[EMAIL PROTECTED]> wrote: > We're using ftpserver as a ftps server over here :) > I ran into a snag though, the customer demands all 'interesting' stuff is > sent secure, so in onDownload() etc. we check if the -data- connection is > secure. > > But there's no ftplet onList() for the 'LIST' command, altough LIST -does- > use the data connection to send it's list. So I've got no hook to check if > the data connection is secure before sending the list. > > Any ideas how to hack this in? My current desperate plan is to add a onList > myself :)
You now have onBeforeCommand and onAfterCommand callback methods in Ftplets so you can add checks to whatever method you like. /niklas
