Indy FTP example won't compile

I am trying to use Indy for various TCP tasks and now I need to use
FTP so i looked at the example for FTP (FTPDemo), but it will not
compile. It complains about a number of undeclared identifiers like
this:
IdFTP1.DirectoryListing.Items[DirectoryListBox.ItemIndex].ItemName;
Apparently ItemName does not exist.
I downloaded and installed indy a few weeks ago (version 9.something).

Any working FTP examples around anywhere??

/Bo