The LIST command will fill the command's list object with absolute file names. A single field working list is required to receive the canonical file paths.
If a directory path specified by the DIR keyword is used then filenames in that directory will be selected.
LIST DIR(/document) EXT(PDF) SERVICE_LIST(PATH)
This will return a list of filenames in the /document directory that have a PDF extension.