Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 18 Apr 2008 08:11:39 -0700 (PDT),    group: microsoft.public.inetsdk.programming.urlmonikers        back       


finding download time   
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
date: Fri, 18 Apr 2008 08:11:39 -0700 (PDT)   author:   unknown

Re: finding download time   
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
date: Fri, 18 Apr 2008 12:33:28 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us