Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FILE_NO_SHARE (0.05 sec)

  1. src/main/java/jcifs/smb/SmbCopyUtil.java

                        SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | (alsoRead ? SmbConstants.FILE_READ_DATA : 0),
                        SmbConstants.FILE_NO_SHARE, attrs, 0);
            } catch (final SmbAuthException sae) {
                log.trace("copyTo0", sae);
                final int dattrs = dest.getAttributes();
                if ((dattrs & SmbConstants.ATTR_READONLY) != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x80000000, SmbConstants.GENERIC_READ);
        }
    
        @Test
        @DisplayName("Should define share access constants")
        void testShareAccessConstants() {
            assertEquals(0x00, SmbConstants.FILE_NO_SHARE);
            assertEquals(0x01, SmbConstants.FILE_SHARE_READ);
            assertEquals(0x02, SmbConstants.FILE_SHARE_WRITE);
            assertEquals(0x04, SmbConstants.FILE_SHARE_DELETE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

         * will not be permitted to access the target file and will receive "The
         * file is being accessed by another process" message.
         */
        int FILE_NO_SHARE = 0x00;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to read from the target file while
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * {@link jcifs.smb1.smb1.SmbFile} for a detailed description and examples of
         * the smb URL syntax.
        <p>
        The second parameter specifies how the file should be shared. If
        <code>SmbFile.FILE_NO_SHARE</code> is specified the client will
        have exclusive access to the file. An additional open command
        from jCIFS or another application will fail with the "file is being
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

                // Act
                smbFile.createNewFile();
    
                // Assert
                verify(smbFile).openUnshared(SmbFile.O_RDWR | SmbFile.O_CREAT | SmbFile.O_EXCL, SmbFile.O_RDWR, SmbFile.FILE_NO_SHARE,
                        SmbFile.ATTR_NORMAL, 0);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top