Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Copying a file over the network

 
Mohamad Obagi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



When i try to copy a file that is more than 300KB it give me a socket error dont know why....
java.net.SocketException: Software caused connection abort: socket write error
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you also show us the receiving code? Perhaps that one is closing the stream too early.
 
Mohamad Obagi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LOL :$ it was, thanks for telling me.

sometimes i just dont pay attention to small things.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic