*
The moose likes Beginning Java and the fly likes Java URL Quick & Dirty code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java URL Quick & Dirty code" Watch "Java URL Quick & Dirty code" New topic
Author

Java URL Quick & Dirty code

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I bascially wanted to write some code that would allow me to download all of the following images to my local computer from this url:
http://www.allaboutthehookup.com/images
Angel Dobbs-Sciortino
Ranch Hand

Joined: Sep 10, 2003
Posts: 101
Here's something quick that won't compile as is. You'll have to write the code for parsing the String and for reading and writing the binary data streams.
Angel
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Go to this page and scroll down to Example 7-1 It isn't exactly what you are looking for but it gives you a start.
All I did was google "java example code url" and that page was the first hit.
[ November 10, 2003: Message edited by: William Barnes ]

Please ignore post, I have no idea what I am talking about.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java URL Quick & Dirty code