Download file from a regular site via proxy c#
        Posted  
        
            by Dani
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dani
        
        
        
        Published on 2010-05-25T10:58:18Z
        Indexed on 
            2010/05/25
            11:01 UTC
        
        
        Read the original article
        Hit count: 433
        
I need to be able to download some file from a regular site using my proxy server, I already try this:
System.Net.WebClient client = new System.Net.WebClient();
client.Proxy = new WebProxy(ip, port);
client.DownloadFile(url);
but it's not works at all, I don't know what I missed,(without a proxy it works)
thanks,
Dani.
© Stack Overflow or respective owner