Uploading with feedback

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to use the HttpWebRequest/Response classes in order to get
feedback on how much data has been transferred? I'm doing multipart posts
uploading files and form data and would like to provide some sort of
indication to the user when the upload will be done.

If not, any other suggestions? TcpClient or something like that?
 
Hi Todd,
Is there any way to use the HttpWebRequest/Response classes in order to get
feedback on how much data has been transferred? I'm doing multipart posts
uploading files and form data and would like to provide some sort of
indication to the user when the upload will be done.

You cannot do it in a reliable manner: if there is
a proxy beween client and server, the request will be
eaten by the proxy within seconds, but the request
will not terminate unless all data has been delivered
by the proxy to the server.

bye
Rob
 
Back
Top