Hello Igor, I am using PassthroughAPP . In PassthroughAPP's OnbeginningTransaction method I note the timestamp when each http request is issued.Similarly I note the timestamp in OnResponse method to get the time when the response is received. But when I download any big file say some zip or pdf file -- These timestamps that I record does not reflect the download time. It seems as if OnResponse method is called when even a small bit of data is downloaded i.e. before the entire file is finished downloading. How do I get this download time ? i.e. how do we get the timestamp when the request is finished downloading ? Please help !! Thanks & Awaiting your reply, Hitesh
genius1232@yahoo.co.in wrote: > I am using PassthroughAPP . In PassthroughAPP's OnbeginningTransaction > method I note the timestamp when each http request is issued.Similarly > I note the timestamp in OnResponse method to get the time when the > response is received. > > But when I download any big file say some zip or pdf file -- These > timestamps that I record does not reflect the download time. It seems > as if OnResponse method is called when even a small bit of data is > downloaded i.e. before the entire file is finished downloading. You want to also look at IInternetProtocolSink::ReportData, in particular when called with BSCF_FIRSTDATANOTIFICATION and BSCF_LASTDATANOTIFICATION flags. -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925