It's not a secret anymore!*
The moose likes Distributed Java and the fly likes  image??? 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 » Distributed Java
Bookmark " image???" Watch " image???" New topic
Author

image???

supratim chaudhury
Greenhorn

Joined: Mar 27, 2006
Posts: 6
one can send a text file by reading its contents in a string object,
sending it to a client machine,then using the string to create a text file in the clent.

But can anyone tell that how can one send an image or image file from client to a server
supratim chaudhury
Greenhorn

Joined: Mar 27, 2006
Posts: 6
just correcting the question above?
how to send an image or image file from server to client???
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
As far as basic transmission between two programs is concerned, any file can be treated as a byte[] - no need to handle text or images any differently.
Bill
 
Don't get me started about those stupid light bulbs.
 
subject: image???
 
Similar Threads
send audio and text via one http connection?
How to get Image from request
Image to String to Image in a email
Combining Binary and Character data
Is there a solution?