I have tried using %lastfile but it seems to be empty and refers to some batch command initiated by Robo FTP instead of after a [passive] receive.
Apart from the official web site, is there any other reference/repository of RoboFTP scripts that you know of?