Internet Direct (Indy) Version 9.0.1 Beta
TIdNNTPServer.OnCommandLast
Specifies the NNTP LAST command event handler.

property OnCommandLast: TBasicEvent;
Description
OnCommandLast identifies the TGetEvent event handler used to respond to the NNTP LAST command, as described in RFC 977.

LAST is used to position the internally maintained "current article pointer" to the previous article in the current newsgroup. If already positioned at the first article of the newsgroup, an error message is returned and the current article remains selected.

Applications should assign a procedure to the event handler in order to respond to the NNTP command, or the server will return the default message:

  500 command not recognized