This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Copying a file over the network  RSS feed

 
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
Posts: 21048
85
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
Boost this thread!