File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 19541
    
  16

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
Tomcat 5 on Dedicated sever
FTPClient storeFile - uploaded file get wrong encoding
Problem uploading file
Web service client - Browser or Webstart/JNLP or Swing