This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Error while downloading Image from web site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Error while downloading Image from web site" Watch "Error while downloading Image from web site" New topic
Author

Error while downloading Image from web site

rutvi gen
Greenhorn

Joined: Jun 20, 2008
Posts: 11
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 Hand

Joined: Aug 10, 2005
Posts: 685
Don't know what your problem is. Following code works for me:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while downloading Image from web site
 
Similar Threads
InputStream to RandomAccessFile..best way?
Downloading TarGz file
Pblm with JAR/InputStream
Problems reading InputStream through proxy
download link in jsp ?