Ahh, right! So my only problem is I'm working with old code :)
Ok, cheers! :) -----Oorspronkelijk bericht----- Van: Niklas Gustavsson [mailto:[EMAIL PROTECTED] Verzonden: Thursday, October 16, 2008 3:48 PM Aan: [email protected] Onderwerp: Re: FTPS List, assert secure data connection? 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 _______________________________________________________________________________________________ Help save paper! Do you really need to print this email? Aan de inhoud van dit bericht kunnen alleen rechten ten opzichte van Sdu Identification B.V. worden ontleend, indien zij door rechtsgeldig ondertekende stukken worden ondersteund. De informatie in dit e-mailbericht is van vertrouwelijke aard en alleen bedoeld voor gebruik door geadresseerde. Als u een bericht onbedoeld heeft ontvangen, wordt u verzocht de verzender hiervan in kennis te stellen en het bericht te vernietigen zonder te vermenigvuldigen of andersoortig te gebruiken. The contents of this electronic mail message are only binding upon Sdu Identification B.V., if the contents of the message are accompanied by a lawfully recognized type of signature. The contents of this electronic mail message are privileged and confidential and are intended only for use by the addressee. If you have received this electronic mail message by error, please notify the sender and delete the message without reproducing it and using it in any way.
