Click here to Skip to main content
15,899,754 members

Comments by Member 8657306 (Top 37 by date)

Member 8657306 20-Oct-15 3:32am View    
i added conn.setRequestProperty("user-agent",conn.getHeader("user-agent")); it resolved the error but value returned by conn.getHeader() is null... and now i am getting the error "cannot write after reading input"
Member 8657306 20-Oct-15 3:16am View    
@Richard- but then how to proceed ahead with downloading?
Member 8657306 14-Sep-13 7:27am View    
system.net
defaultProxy enabled="true"
proxy bypassonlocal="true"
proxyaddress="http://website.com:8888/" /
/defaultProxy
/system.net
Member 8657306 14-Sep-13 7:26am View    
Deleted
sorry.. this is the code i have used

<system.net>
<defaultproxy enabled="true">
<proxy bypassonlocal="true"
proxyaddress="http://website.com:8888/" />

Member 8657306 2-Aug-13 13:28pm View    
the following code will enable proxy connection to the website, bt how do i detect that proxy exists & include the default proxy settings from internet settings???