Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error performing inpage operation  RSS feed

 
Simon Good
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do I get this error

java.io.IOException: Error performing inpage operation

when I try to copy a file from a server to my local disk?

I'm using nio FileChannels

Someone help - please!
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got code?
 
Simon Good
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, here ya go........

 
Simon Good
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked it out

I already have a FileChannel open on the source file somewhere else in the code. Bit of a misleading message in the exception though.

Cheers
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!