- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 24 for getFileId (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
Configuration responseConfig = (Configuration) configField.get(response); assertEquals(mockConfig, responseConfig); // Verify response has correct fileId assertEquals(testFileId, response.getFileId()); // Verify response has correct fileName assertEquals(testFileName, response.getFileName()); } @Test @DisplayName("size should return correct message size")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} if (dh.isSMB2()) { final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId()); req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs)); dh.send(req); } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
CommonServerMessageBlockRequest req; NotifyResponse resp = null; if (th.isSMB2()) { final Smb2ChangeNotifyRequest r = new Smb2ChangeNotifyRequest(th.getConfig(), this.handle.getFileId()); r.setCompletionFilter(this.filter); r.setNotifyFlags(this.recursive ? Smb2ChangeNotifyRequest.SMB2_WATCH_TREE : 0); req = r; } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
do { r = len > this.readSize ? this.readSize : len; if (th.isSMB2()) { final Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fh.getFileId(), b, off); request.setOffset(this.fp); request.setReadLength(r); request.setRemainingBytes(len - off); try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
resp.decode(packet, 0); assertEquals(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, resp.getCtlCode()); assertEquals(0x1234, resp.getIoctlFlags()); assertNotNull(resp.getFileId()); assertEquals(16, resp.getFileId().length); assertEquals(12, resp.getOutputLength()); SrvCopyChunkCopyResponse od = resp.getOutputData(SrvCopyChunkCopyResponse.class); assertEquals(1, od.getChunksWritten());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
* @return the file ID if available, null otherwise */ public byte[] getExistingHandle(String path) { HandleInfo info = getHandleForReconnect(path); return info != null ? info.getFileId() : null; } /** * Store handle information after successful create * @param path the file path * @param fileId the 16-byte file ID * @param guid the handle GUID */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
if (th.isSMB2()) { final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId()); req.setMaxOutputResponse(16); req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
if (!append && this.smb2) { // no open option for truncating, need to truncate the file final Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch (final CIFSException e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} try { if (th.isSMB2()) { final Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fd.getFileId(), b, off); request.setOffset(type == SmbConstants.TYPE_NAMED_PIPE ? 0 : this.fp); request.setReadLength(r);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
setInfoReq.setFileId(createResp.getFileId()); setInfoReq.setFileInformation(new FileRenameInformation2(destPath, replace)); sh.send(setInfoReq); } finally { // Always close the file handle - ensure createResp is not null if (createResp != null && createResp.getFileId() != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)