Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CGopherFileFind Class

Aids in Internet file searches of gopher servers.

Note 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




Constructs a CGopherFileFind object.




Finds a file on a gopher server.


Continues a file search from a previous call to FindFile.


Gets the time the specified file was created.


Gets the time the specified file was last accessed.


Gets the time the specified file was last written to.


Gets the length of the found file, in bytes.


Get a CGopherLocator object.


Gets the name of a gopher screen.


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

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 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.

Header: afxinet.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.