Software Development Kit (SDK) and API Discussions
See The Solution
For Clustered ONTAP, APIs are divided among Cluster level APIs and Vserver level APIs. Majority of file APIs are at Vserver level.
You will "file-list-directory-iter" among Vserver APIs which will give you a list of files in a given directory.
View solution in original post