A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Upload or download binary message from URL
Joined: Nov 10, 2008
May 06, 2010 23:49:18
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.
Joined: Feb 02, 2009
May 07, 2010 01:12:13
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.
Joined: Oct 27, 2005
May 07, 2010 01:34:24
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Upload or download binary message from URL
Tomcat 5 on Dedicated sever
Problem uploading file
FTPClient storeFile - uploaded file get wrong encoding
Web service client - Browser or Webstart/JNLP or Swing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014