From a WindowsServer, I am using:
File src = new File("\\\\servername\\D:\\LogFiles");
When I check for src.isDirectory(), it says false. Tried a different directory but again it returns false. Checked and the directories exists in the other Windows Server.
Most probably, it seems the issue is with the slashes. can someone help
Try this: