Faruz
asked on
When using WebClient to download files I get "URI Formats are not supported"
Here's my code:
WebClient wc = new WebClient ();
wc.DownloadFile ("http://ia.media-imdb.com/media/imdb/01/I/11/23/10/10m.jpg", "http://localhost/Images/Image.jpg");
I always get this crush when running in Server mode.
I guess I need to change some settings in my IIS to fix that. not sure what.
WebClient wc = new WebClient ();
wc.DownloadFile ("http://ia.media-imdb.com/media/imdb/01/I/11/23/10/10m.jpg", "http://localhost/Images/Image.jpg");
I always get this crush when running in Server mode.
I guess I need to change some settings in my IIS to fix that. not sure what.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.