Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 984

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
 
Similar Threads
PA #1.....picture association
Help in picking spectacles
Servers down? Pants too?
serve static HTML from app context rather than ROOT
No Weapons in the Bar After 1830 hrs !