You can achieve this with the NetApp PowerShell Toolkit:
# Import the DataONTAP PowerShell module
# Connect to the appropriate NetApp cDOT Cluster
Connect-NcController -Name <Cluster Management IP Address>
# List the contents of the specified directory
Read-NcDirectory -VserverContext <Vserver Name> -Path /vol/<volume name>/<folder name>
Here is an example of these commands in action:
Below command is a way of doing ls in C-Dot:
admin_node::> system node run -node filer_node-0* -command "priv set -q diag ; ls /vol/Volumename/"
2 entries were acted on.
/vol/Volumename/: Can't open directory: No such file or directory