RE: How to monitor progress of sending a file using HTTP?
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 28 Aug 2006 04:02:50 GMT
Hello Mike,
From your description, you're using the .net HttpWebRequest component toupload files to a remote HTTP Virtual directory, and is wondering how to
monitor the progress of the file uploading (data sent ...).
Based on my research, the HttpWebRequest class is a well encapsulated
component which hide the underlying http/tcp socket processing from the
users, therefore, we can not directly get the underlying transfering
statistics through HttpWebRequest component's properties(sync or async
mode). So far what I can find is the System.Net.WebClient class which has
provided the "UploadProgressChanged" event which can help detect the data
transfering states when we perform uploading asynchronously.
#WebClient.UploadProgressChanged Event
http://msdn2.microsoft.com/en-us/library/system.net.webclient.uploadprogress
changed.aspx
Unfortunately, this class seems limited to .net framework standard version
and hasn't support on compact framework.
Currently I'll help you consult our internal framework team engineers to
see whether there is any available options to do the same work on compact
framework. I'll update you as soon as I get any new information.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: How to monitor progress of sending a file using HTTP?
- From: Steven Cheng[MSFT]
- RE: How to monitor progress of sending a file using HTTP?
- Prev by Date: Re: ABSOLUTELY strange requirement when installing app proxy (COM+)!!
- Next by Date: Re: ClickOnce installation fails (very interesting log from IIS)
- Previous by thread: Re: ABSOLUTELY strange requirement when installing app proxy (COM+)!!
- Next by thread: RE: How to monitor progress of sending a file using HTTP?
- Index(es):
Relevant Pages
|