- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isSMB2 (0.14 sec)
-
src/main/java/jcifs/smb/SmbTreeImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) { if ( trans.isSMB2() ) { Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc"); create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
} } catch ( SmbUnsupportedOperationException e ) { try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) { Assume.assumeTrue("Not SMB2", th.isSMB2()); } throw e; } finally { if ( !renamed && f.exists() ) { f.delete(); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} Configuration config = h.getConfig(); SmbBasicFileInfo info; boolean haveSize = true, haveAttributes = true; long fileSize = 0; if ( h.isSMB2() ) { Smb2CreateRequest req = new Smb2CreateRequest(config, uncPath); req.setDesiredAccess(access);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} return r; } /** * @return whether this is SMB2 transport * @throws SmbException */ @Override public boolean isSMB2 () throws SmbException { return this.smb2 || getNegotiateResponse() instanceof Smb2NegotiateResponse; } /** * @param digest */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
SmbResource f = root.resolve(makeRandomDirectoryName()) ) { try ( SmbTreeHandle treeHandle = ( (SmbFile) root ).getTreeHandle() ) { Assume.assumeTrue("Not SMB2", treeHandle.isSMB2()); } f.mkdir(); try { for ( int i = 0; i < 5; i++ ) { // each entry 94 byte + 2 * name length
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0)