Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 445 for share (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "\\\\server\\share", "\\\\192.168.1.1\\share", "\\\\server.domain.com\\share", "\\\\server\\share\\subfolder",
                "\\\\s\\s" // Minimum path
        })
        @DisplayName("Should handle various valid path formats")
        void testVariousPathFormats(String path) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

     *
     * <tr>
     * <td ><code>
     *  smb://host/share/a/b/
     * </code></td>
     * <td ><code>
     *  c/d/
     * </code></td>
     * <td><code>
     *  smb://host/share/a/b/c/d/
     * </code></td>
     * </tr>
     *
     * <tr>
     * <td ><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td ><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
     *  smb://host/share2/zig/zag
     * </code></td>
     * </tr>
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

        RESOURCE_CHANGE(1),        // Resource state changed
        CLIENT_MOVE(2),           // Client should move to different node
        SHARE_MOVE(3),            // Share moved to different node
        IP_CHANGE(4),             // IP address changed
        SHARE_DELETE(5),          // Share deleted
        NODE_UNAVAILABLE(6),      // Cluster node unavailable
        NODE_AVAILABLE(7);        // Cluster node available
        
        private final int value;
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            return this.service;
        }
    
        /**
         * Returns the native file system type of the connected share.
         *
         * @return the nativeFileSystem
         */
        public final String getNativeFileSystem() {
            return this.nativeFileSystem;
        }
    
        /**
         * Indicates whether the share supports search operations with search bits.
         *
         * @return the supportSearchBits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetReferral_Success() throws IOException, SmbAuthException {
            String domain = "domain.com";
            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceLocatorTest.java

        class HappyPath {
            @Test
            void testBasicProperties() throws Exception {
                String url = "smb://server/share/path/file.txt";
                DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
                // canonicalisation simply removes '.' and '..'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockReferral.getPathConsumed()).thenReturn(15); // e.g., "\\\\server\\share".length()
            when(mockReferral.next()).thenReturn(mockReferral); // Simple loop for the do-while
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  9. src/main/java/jcifs/SmbConstants.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testToString() {
            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share");
            exception.withContext("share", "\\\\server\\share");
            exception.withContext("user", "john");
    
            // When
            String str = exception.toString();
    
            // Then
            assertNotNull(str);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top