Why does this return false in java?
new File("\\\\10.10.1.4").exists()
but
new File("\\\\10.10.1.4\\dir").exists()
returns true.
If i open the first address (without 'dir') in windows explorer i see the content so i don't think it's a permission issue since windows can see it just fine
Same thing happens with File.listFiles(). The first address returns null but the second returns the actual content
Finally if all else fails, is there any other way to test if a UNC address (just the ip without directory) exists and to list its content?