Skip to main content
Skip table of contents

2.8.2 Methods

2.8.2.1 SearchForFiles

SearchForFiles
Search for files in Thru 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.

2.8.2.2 SearchForFiles2

SearchForFiles2
Search for files in Thru 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

2.8.2.3 SearchForFolders

SearchForFolders
Search for folders in Thru 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.

2.8.2.4 SearchForFolders2

SearchForFolders2
Search for folders in Thru 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

2.8.2.5 AdvancedSearchForFiles

AdvancedSearchForFiles
Advanced search for files in Thru 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

2.8.2.6 AdvancedSearchForFolders

AdvancedSearchForFolders
Advanced search for files in Thru 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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.