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
 
F

Feroze [MSFT]

Yes, you have to use HttpWebRequest/Response.

--
Remove "user" from the email address to reply to the author.

This posting is provided "AS IS" with no warranties, and confers no rights

Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top