download files from http server...

  • Thread starter Thread starter Satinderpal Singh
  • Start date Start date
S

Satinderpal Singh

Hi All,

To download the files from the http or https server, we have used WebClient
object.

But, the problem is we cannot specify timeout in the WebClient object.

So, using HttpWebRequest and HttpWebResponse the only way to do it ? or is
there some other way with which we can specify timeout for WebClient object.


Thanks in advance.
Satinder
 
I think you are right. The one thing you can try is opening the stream from
WebClient and then do asynch read.

~~~~~~~~~~~~~~
Vikas Manocha
www.vikasman.com
~~~~~~~~~~~~~~
 
Back
Top