Share via


CGopherFileFind Class

Aids in Internet file searches of gopher servers.

Note

The classes CGopherConnection, CGopherFile, CGopherFileFind, CGopherLocator and their members have been deprecated because they do not work on the Windows XP platform, but they will continue to work on earlier platforms.

class CGopherFileFind : public CFileFind

Members

Public Constructors

Name

Description

CGopherFileFind::CGopherFileFind

Constructs a CGopherFileFind object.

Public Methods

Name

Description

CGopherFileFind::FindFile

Finds a file on a gopher server.

CGopherFileFind::FindNextFile

Continues a file search from a previous call to FindFile.

CGopherFileFind::GetCreationTime

Gets the time the specified file was created.

CGopherFileFind::GetLastAccessTime

Gets the time the specified file was last accessed.

CGopherFileFind::GetLastWriteTime

Gets the time the specified file was last written to.

CGopherFileFind::GetLength

Gets the length of the found file, in bytes.

CGopherFileFind::GetLocator

Get a CGopherLocator object.

CGopherFileFind::GetScreenName

Gets the name of a gopher screen.

CGopherFileFind::IsDots

Tests for the current directory and parent directory markers while iterating through files.

Remarks

CGopherFileFind includes member functions that begin a search, locate a file, and return a file's URL.

Other MFC classes designed for Internet and local file searched include CFtpFileFind and CFileFind. Together with CGopherFileFind, these classes provide a seamless mechanism for the user to find specific files, regardless of the server protocol, file type, or location (either a local machine or a remote server.) Note that there is no MFC class for searching on HTTP servers because HTTP does not support the direct file manipulation required by searches.

Note

CGopherFileFind does not support the following member functions of its base class CFileFind:

In addition, when used with CGopherFileFind, the CFileFind member function IsDots is always FALSE.

For more information about how to use CGopherFileFind and the other WinInet classes, see the article Internet Programming with WinInet.

Inheritance Hierarchy

CObject

CFileFind

CGopherFileFind

Requirements

Header: afxinet.h

See Also

Reference

CFileFind Class

Hierarchy Chart

CFtpFileFind Class

CFileFind Class

CInternetFile Class

CGopherFile Class

CHttpFile Class