wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: 19656
    
  18

Check out FileUpload.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 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
 
Similar Threads
FTP
Problem uploading file
Tomcat 5 on Dedicated sever
FTPClient storeFile - uploaded file get wrong encoding
Web service client - Browser or Webstart/JNLP or Swing