Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upload or download binary message from URL

 
Nick Sher
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
D. Ogranos
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out FileUpload.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic