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

Name

Description

CGopherFileFind::CGopherFileFind

Constructs a CGopherFileFind object.

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.

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
Show:
© 2014 Microsoft. All rights reserved.