• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java URL Quick & Dirty code

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic