- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FILE_NO_SHARE (0.12 sec)
-
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/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)