download files from http server...

  • Thread starter Satinderpal Singh
  • 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
 
V

Vikas Manocha

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
~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top