CFtpFileFind::FindFile

virtual BOOL FindFile( LPCTSTR pstrName = NULL, DWORD dwFlags = INTERNET_FLAG_RELOAD );

Return Value

Nonzero if successful; otherwise 0. To get extended error information, call the Win32 function GetLastError.

Parameters

pstrName

A pointer to a string containing the name of the file to find. If NULL, the call will perform a wildcard search (*).

dwFlags

The flags describing how to handle this session. These flags can be combined with the bitwise OR operator (|) and are as follows:

Remarks

Call this member function to find an FTP file.

After calling FindFile to retrieve the first FTP file, you can call FindNextFile to retrieve subsequent FTP files.

CFtpFileFind OverviewClass MembersHierarchy Chart

See Also   CFtpFileFind::FindNextFile, CFileFind