File Search using ONTAP API
2014-05-28 12:12 AM
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.
1 REPLY 1
Re: File Search using ONTAP API
2014-05-30 04:10 AM
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.