Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to transfer a File in LAN, of filesize greater than 64KB

843790May 12 2010 — edited May 12 2010
dear developers,
i m doing socket programming, and made a Server and a Client.
At serverside i need to read a file transferred by the client.
Client is first transmitting file info.
then client is reading a file in bytearray and streaming out at the socket
outputstream. but the problem is that i m unable to send file greater than 64KB
as it produces socket write error after transmitting initial 64KB data.
Plz help me.......to get rid of this.........many many thanx in advance......
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2010
Added on May 12 2010
3 comments
126 views