Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * will not be permitted to access the target file and will receive "The
         * file is being accessed by another process" message.
         */
        public static final int FILE_NO_SHARE = 0x00;
        /**
         * When specified as the {@code shareAccess} 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: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                if (th.isSMB2()) {
                    withOpen(th, Smb2CreateRequest.FILE_OPEN_IF, O_RDWR, 0, null);
                } else {
                    try (SmbFileHandle fd = openUnshared(O_RDWR | O_CREAT | O_EXCL, O_RDWR, FILE_NO_SHARE, ATTR_NORMAL, 0)) {
                        // close explicitly
                        fd.close(0L);
                    }
                }
            } catch (final CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top