same as title; how to access to UNC location in ShareFolder?
URL uri = new URL("file:\\\\x.x.1.10\\myUNC");
File file = new File(uri);
or
URL uri = new URL("file://x.x.1.10/myUNC");
File file = new File(uri);
also doesn't works.
Just:
File f = new File("\\\\x.x.1.10\\myUNC");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With