The LS i5/OS® FTP client subcommand lists the names of files in a file set on a remote system.
LS [ name] [(Disk]
If the FTP server returns a negative reply code (550), then there will be no LSOUTPUT member. If the FTP server returns a positive reply code (150) without any file names, then an LSOUTPUT member with no records will result.
The LS subcommand lists the file names only. To get a list of complete directory entries with additional information about the files, see DIR (List Directory Entries, Libraries, or Files).