This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while downloading Image from web site  RSS feed

 
rutvi gen
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


PROBLEM-
I am downloading an image from URL and writing it to local disk drive. Now at the time of input stream i am having an Exception like -


I am using netBeans 6.0 and i have set System Proxy Setting inside it. as well to run this code successfully i have turned off my pc's firewall.

Thanks in advance
 
Norm Radder
Ranch Foreman
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know what your problem is. Following code works for me:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!