Hello
I have a
java program which does file copy. Its working when the program is running in NT machine and source & destination are NT.
File copy is not working when File source is NT and File Destination is Solaris. It says it found the file in NT but unable to copy it. I have a drive map from solaris to NT. The following is the line of code written for file copy
File dir = new File(destDir);
return requiredFile.renameTo(new File(dir, requiredFile.getName()));
the return is false.
Can anybody suggest me what change I have to make so that the copy takes place....I know renameTo is platform-dependent.
Thanks in advance
Sridhar