This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 20132
    
  30

Check out FileUpload.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload or download binary message from URL
 
It's not a secret anymore!