- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for FILE_NO_SHARE (0.14 sec)
-
src/test/java/jcifs/tests/ConcurrencyTest.java
SmbResource exclFile = new SmbFile(sr, fname) ) { try ( OutputStream s = exclFile.openOutputStream(false, SmbConstants.FILE_NO_SHARE); InputStream is = exclFile.openInputStream(SmbConstants.FILE_NO_SHARE) ) { fail("No sharing violation"); } catch ( SmbException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
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 ( SmbAuthException sae ) { log.trace("copyTo0", sae); int dattrs = dest.getAttributes();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
this.desiredAccess |= SHARING_DENY_NONE; } else if ( shareAccess == SmbConstants.FILE_NO_SHARE ) { this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE; } else if ( ( shareAccess & SmbConstants.FILE_SHARE_WRITE ) == 0 ) { this.desiredAccess |= SHARING_DENY_WRITE; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
*/ // #261 @Test public void testExistsOnLock () throws IOException { try ( SmbFile f = createTestFile(); SmbFileOutputStream ostream = f.openOutputStream(true, SmbConstants.FILE_NO_SHARE); SmbFile checkFile = new SmbFile(f.getCanonicalPath(), f.getContext()) ) { try { assertTrue(checkFile.exists()); } finally {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
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. */ static final int FILE_NO_SHARE = 0x00; /** * When specified as the <tt>shareAccess</tt> constructor parameter, * other SMB clients will be permitted to read from the target file while
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.9K bytes - Viewed (0) -
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 Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
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 <tt>shareAccess</tt> constructor parameter, * other SMB clients will be permitted to read from the target file while
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
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 ( CIFSException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)