question about directory listing property in indy ftp client

Hi guy,
I'm trying to using the indy ftp client (indy 9.0) and I have problem to
resolve the list item in file or directory (the directorylisting property
or isdirectory method).
Can someone help me?
Bye
Mauro