Re: need a better file copy method - SOLVED?

"Jim C." <[email protected]> Thu, 04 May 2006 11:11:26 -0700
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
OK, here is what seems to be working.
I did some reading and noticed that closing the output stream was an op 
that was pretty close to the hardware.

So, when cleaning up, do the following:

fileOutStream.flush();

srcChannel.close ( ) ;

dstChannel.close ( ) ;

fileOutStream.close();


Anyway, this seems to be working for now. :-)


Jim C.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]