Hi

How can i recieve a data stream/file from an http connection ?
this is my connection, is there a function i need to read in the data ?

Code:
	CHttpConnection* pServer = NULL;
	CHttpFile* pFile = NULL;
	INTERNET_PORT nPort;
	CString strErrorCode,strObject;
	DWORD dwServiceType = AFX_INET_SERVICE_HTTP;

	CInternetSession Session(_T("HTTPDialog"),1,dwAccessType,NULL,NULL,0);

	pServer = Session.GetHttpConnection(strServer,nPort);
thanks

P