wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Upload or download binary message from URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Upload or download binary message from URL" Watch "Upload or download binary message from URL" New topic
Author

Upload or download binary message from URL

Nick Sher
Ranch Hand

Joined: Nov 10, 2008
Posts: 78
Hi,

I am trying to upload a binary message given a URL and then in other step download a binary file. How do I do this? I don't know where to start. Any help is appreciated.

Thanks
Nick.


Nick
D. Ogranos
Ranch Hand

Joined: Feb 02, 2009
Posts: 214
Have a look at the URLConnection class. Its quite easy to download data with that. Upload is also possible, but I haven't tried that yet so can't tell how it works.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19685
    
  20

Check out FileUpload.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Don't get me started about those stupid light bulbs.
 
subject: Upload or download binary message from URL