Methods
SearchForFiles
Search for files in MFT FS server by a file name. Uses asterisk as a wildcard character.
FTHFileData[] SearchForFiles(Guid sessionID, string searchString)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of the Open functions |
searchString | Search string, use asterisk symbol for a wildcard. |
SearchForFiles2
Search for files in MFT FS server by a file name. Uses asterisk as a wildcard character. Return results in pages.
FTHFileSearchPagingData SearchForFiles2(Guid sessionID, string searchString, int index, int length)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of the Open functions |
searchString | Search string, use asterisk symbol for a wildcard. |
index | Return search results starting with this index |
length | Number of returned search results |
SearchForFolders
Search for folders in MFT FS server by a folder name. Uses asterisk as a wildcard character.
FTHFileData[]SearchForFolders(Guid sessionID, string searchString)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of the Open functions |
searchString | Search string, use asterisk symbol for a wildcard. |
SearchForFolders2
Search for folders in MFT FS server by a folder name. Uses asterisk as a wildcard character. Return results in pages.
FTHFileSearchPagingData SearchForFolders2(Guid sessionID, string searchString, int index, int length)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of the Open functions |
searchString | Search string, use asterisk symbol for a wildcard. |
index | Return search results starting with this index |
length | Number of returned search results |
AdvancedSearchForFiles
Advanced search for files in MFT FS file system using combination of search parameters.
FTHFileData[] AdvancedSearchForFiles(Guid sessionID, string keywordSearch, bool keywordAll, string nameSearch, bool nameAll, string descriptionSearch, bool descriptionAll, string modifiedBySearch, DateTime? startDate, DateTime? endDate, int? folderID, bool recursive, int index, int length)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of Open functions |
keywordSearch | String contains tags (keywords) separated by space |
keywordAll | Set the flag to true if all tags are required, otherwise search returns a union of searches for each tag |
nameSearch | String contains tokens to search in file name, separated by space. |
nameAll | Set the flag to true if all tokens are required in the name, otherwise search returns a union |
descriptionSearch | String contains tokens to search in file description, separated by space. |
descriptionAll | Set the flag to true if all tokens are required in a description, otherwise search returns a union |
modifiedBySearch | Name of a user who was the last to modify the file |
startDate | Search the files with modification date later then startDate, optional |
endDate | Search the files with modification date earlier then endDate, optional |
folderID | Search only in the folder with this ID, optional |
recursive | Flag is set to run recursive search on subfolders |
index | Search returns results starting with this index |
length | Number of found items to return |
AdvancedSearchForFolders
Advanced search for files in MFT FS file system using a combination of search parameters.
FTHFolderData[] AdvancedSearchForFolders(Guid sessionID, string keywordSearch, bool keywordAll, string nameSearch, bool nameAll, string descriptionSearch, bool descriptionAll, string modifiedBySearch, DateTime? startDate, DateTime? endDate, int? folderID, bool recursive, int index, int length)
| Parameter Name | Description |
|---|---|
sessionID | User session returned by one of Open functions |
keywordSearch | String contains tags (keywords) separated by space |
keywordAll | Set the flag to true if all tags are required, otherwise search returns a union of searches for each tag |
nameSearch | String contains tokens to search in file name, separated by space. |
nameAll | Set the flag to true if all tokens are required in the name, otherwise search returns a union |
descriptionSearch | String contains tokens to search in file description, separated by space. |
descriptionAll | Set the flag to true if all tokens are required in a description, otherwise search returns a union |
modifiedBySearch | Name of a user who was the last to modify the file |
startDate | Search the files with modification date later then startDate, optional |
endDate | Search the files with modification date earlier then endDate, optional |
folderID | Search only in the folder with this ID, optional |
recursive | Flag is set to run recursive search on subfolders |
index | Search returns results starting with this index |
length | Number of found items to return |
Was this topic helpful?