Click or drag to resize
ClientFolderFindFiles Method (String, String)
Returns a List of MOVEitFileInfo objects which contain information about files whose names match the specified mask, and which are located in folders whose MOVEitFolder path is or begins with the provided MOVEitFolder.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
public List<MOVEitFileInfo> FolderFindFiles(
	string Mask,
	string MOVEitFolder
)

Parameters

Mask
Type: SystemString
File search mask.
MOVEitFolder
Type: SystemString
Path or ID of the folder to limit searches to.

Return Value

Type: ListMOVEitFileInfo
List containing search results if successful; otherwise, null.
Remarks

This method can be used to search a tree of directories for files of a certain name. Returns an empty List if no files are found.

For example, given the following file/folder tree: - Home/Adam Smith/file.dat - Home/Adam Smith/report.txt - Home/Adam Smith/archive/info.dat - Home/Adam Smith/archive/names.txt

A call of FolderFindFiles("*.dat","Home/Adam Smith") would return: - Home/Adam Smith/file.dat - Home/Adam Smith/archive/info.dat

See Also