CFtpFileFind( CFtpConnection* pConnection, DWORD dwContext = 1 );
Parameters
pConnection
A pointer to a CFtpConnection object. You can obtain an FTP connection by calling CInternetSession::GetFtpConnection.
dwContext
The context identifier for the CFtpFileFind object. See Remarks for more information about this parameter.
Remarks
This member function is called to construct a CFtpFileFind object.
The default value for dwContext is sent by MFC to the CFtpFileFind object from the CInternetSession object that created the CFtpFileFind object.You can override the default to set the context identifier to a value of your choosing. The context identifier is returned to CInternetSession::OnStatusCallback to provide status on the object with which it is identified. See the article Internet First Steps: WinInet in the Visual C++ Programmer's Guide for more information about the context identifier.
Example
See the example in the CFtpFileFind class overview.
CFtpFileFind Overview | Class Members | Hierarchy Chart
See Also CGopherFileFind, CFileFind