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 source, but:
(1) This imports classes from outside the ftplet_api space
(2) I can't seem to find a way to get at an FtpServerContext object from
within an ftplet, so the third argument to translate() doesn't compile.

Thanks,
John

-- 
"There is no way to peace; peace is the way"

Reply via email to