Docs Menu
API Developer Guide / middleware / pub / file / listFiles

Service: listFiles

This service is used to list the files in a directory on the server machine

Input Parameter:

Name Type Description
dirPath: String Path of the directory on the Server machine

Output Parameter:

Name Type Description
list: String Array Returns the list of the files in the directory