The community will be undergoing maintenance soon, requiring Read-Only mode. Click to learn more.

Software Development Kit (SDK) and API Discussions

File Search using ONTAP API



I am New to NETAPP API's and trying to do a File Search across the entire Volume and Directories using JAVA . This is something very common and I am sure there would be a solution or sample if I can reuse that will be a great time saver..

Trying to find (Count) how many files of type .mdb (Access files) used in my organisation.

Any Help will be much appreciated.



Hi Raja,

You can use "file-get-file-info" API in Clustered ONTAP Vserver context (Storage Virtual Machine) and 7-Mode Data ONTAP systems.

You just need to provide the "path" for the file list. Once you get the list of files (and directories), you can filter out the files you are looking for and get the count.

Hope this helps. Please feel free to revert back if you need any more information on this.



NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner