This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 12809
    
    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???