<< Back


FVSDK_FindFilesDialog

Synopsis

FVSDK_ERROR_CODE FVSDK_FindFilesDialog(FVSDK_Session* pSession, LPCTSTR pszDirectoryPath);

Description

Displays the Find Files dialog to the user allowing the user to find files based on UNIX style search criterea. Once the user selects "Find," a list of matching files is shown. The user can then delete, view, open, or download selected files.

Parameters

pSession

A pointer to the FVSDK_Session that is to perform the operation.

pszDirectoryPath

A NULL terminated string containing the full path in which to begin the operation.

Return Value

FVSDK_OK if successful, other results can be found in FVSDK_ErrorCodes.h.

NOTE: If the session structure is valid, this function always returns FVSDK_OK. This is done because transfers can be asynchronous if bConnectionSaver is set to FALSE. To be notified of transfer errors, use the appropriate callback function found in the FVSDK_Session structure.

Example

// bring up the Find Files dialog
FVSDK_FindFilesDialog(pSession, "/pub/rhinosoft/");