I corrected two problems with anonymous ftp that caused directories not to show with the ‘dir’ command, and some directories not to show even with ‘ls’.
The former was a compile time option, ‘enable-ls’, necessary on Ubuntu, and the latter was old paths in /etc/ftpaccess that have been wrong for many moons (probably since I changed directory structures back in 2012).