GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes About FileChannel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

About FileChannel

kayanaat sidiqui
Ranch Hand

Joined: Sep 04, 2008
Posts: 122
Hi all,

can any one tell me with explanation that calling file channel's class "transferTo" method is safe
on Unix system?

Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3606
    
  15
Do you have any reason to suspect it might not be safe ?


Joanne
kayanaat sidiqui
Ranch Hand

Joined: Sep 04, 2008
Posts: 122
Hi Joanne Neal,

Thanks for reply.

Well i am having a piece of code forcopying file. It uses fileChannel's transferTo method.

Everything is fine windows but on unix it's not copying the file.

did you get it?
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3606
    
  15
This appears to be the same question as you asked here.
Why don't you continue the conversation there where you have already had some suggestions.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39084
    
  23
Joanne Neal wrote:This appears to be the same question as you asked here.
Why don't you continue the conversation there where you have already had some suggestions.
Nice to see you again, Joanne. I shall take your hint and close this thread as a duplicate.

Please read this FAQ, kayanaat sidiqui.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: About FileChannel