Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDFSRootURL (0.08 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

        }
    
    
        /**
         * @return
         * @throws URISyntaxException
         */
        private String getDFSShare () throws URISyntaxException {
            URI dfsRoot = new URI(getDFSRootURL());
            String dfsRootPath = dfsRoot.getPath();
            int firstSep = dfsRootPath.indexOf('/', 1);
            String dfsShare;
            if ( firstSep > 0 ) {
                dfsShare = dfsRootPath.substring(1, firstSep);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                Assume.assumeTrue(false);
            }
        }
    
    
        @Test
        public void testDFSShareEnum () throws CIFSException, MalformedURLException {
            String dfsRoot = getDFSRootURL();
            try ( SmbFile smbFile = new SmbFile(dfsRoot, withTestNTLMCredentials(getContext())) ) {
                String[] list = smbFile.list();
                assertNotNull(list);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
Back to top