Best practice for sending FTP replies from an ftplet

2010-11-23 Thread John Hartnup
Hi, I can't find any examples (maybe not looking hard enough) - but how do I send the user localised text from an ftplet? session.write(LocalizedFtpReply.translate(session, request, context, FtpReply.REPLY_550_REQUESTED_ACTION_NOT_TAKEN, PASS, null)); ... is what is used in other parts of the

Re: Best practice for sending FTP replies from an ftplet

2010-11-23 Thread Niklas Gustavsson
On Tue, Nov 23, 2010 at 5:11 PM, John Hartnup john.hart...@gmail.com wrote: I can't find any examples (maybe not looking hard enough) - but how do I send the user localised text from an ftplet? In the current version, you will have to manage this yourself. LocalizedFtpReply is for our internal

Re: Best practice for sending FTP replies from an ftplet

2010-11-23 Thread John Hartnup
On 23 November 2010 16:38, Niklas Gustavsson nik...@protocol7.com wrote: On Tue, Nov 23, 2010 at 5:11 PM, John Hartnup john.hart...@gmail.com wrote: I can't find any examples (maybe not looking hard enough) - but how do I send the user localised text from an ftplet? In the current