FTP command: LIST

LIST [<SP> <pathname>] <CRLF>

Asks for the contents of the active directory. If <pathname> points to a directory or group of files, the server transfers a detailed list of the files in the specified directory.