We help IT Professionals succeed at work.

WebClient does not download www.digg.com/rss/index.xml ?

652 Views
Last Modified: 2013-12-16
for the life of me I can not get the c# webclient to download http://www.digg.com/rss/index.xml...

I have tried DownloadString and DownloadFile....with both the program seems to hang...

wc.DownloadFile("http://www.digg.com/rss/index.xml", "digg.txt");

string digg = wc.DownloadString("http://www.digg.com/rss/index.xml");

any ideas?
Comment
Watch Question

Dirk HaestProject manager
CERTIFIED EXPERT

Commented:
Perhaps you can try this article on your program and see if it works for you
http://msmvps.com/blogs/coad/archive/2004/04/14/5013.aspx
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.