- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getUncPath0 (0.24 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
UniAddress.getByName(url.getHost()).getHostName(); } } else if (getUncPath0().length() == 1 || share.equalsIgnoreCase("IPC$")) { connect0(); // treeConnect is good enough } else { final Info info = queryPath(getUncPath0(), Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO); attributes = info.getAttributes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
SmbFile file = new SmbFile("smb1://server/share/file.txt"); // Without a real connection, getType relies on path parsing. // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM assertEquals(SmbFile.TYPE_FILESYSTEM, file.getType()); } @Test public void testGetTypeForShare() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)