WebClient.DownloadData hangs
Posted
by sagie
on Stack Overflow
See other posts from Stack Overflow
or by sagie
Published on 2010-03-14T09:06:36Z
Indexed on
2010/03/14
9:15 UTC
Read the original article
Hit count: 565
Hi.
I am trying to download file using WebClient.DownloadData. Usually the download is Ok, but for some Urls the download just hangs.
I've tried to override the WebClient, and set a timeout to the WebRequest, and it didn't help.
I've also tried to create WebRequest (with time out), then get the WebResponse, and then get the stream. When I've read the stream, It hangs again.
This is an example for a url that hangs: http://www.daikodo.com/genki-back/back-img/10genki-2.jpg.
Any Idea?
© Stack Overflow or respective owner