To get a list of directory entries, library contents, or files in a file group, use the LIST FTP server subcommand:
LIST [directory | name]
It lists only those files that FTP can transfer