- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for getFileId (0.55 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ public final long getEndOfFile() { return this.endOfFile; } /** * Get the file ID * * @return the fileId */ public byte[] getFileId() { return this.fileId; } /** * Get the file name * * @return the fileName */ public String getFileName() { return this.fileName; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
fileId[i] = (byte) (i + 1); } manager.updateHandleFileId(guid, fileId); HandleInfo info = manager.getHandleByGuid(guid); assertArrayEquals(fileId, info.getFileId()); } @Test public void testGetHandleForReconnect() { HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
*/ public int getIoctlFlags() { return this.ioctlFlags; } /** * Gets the file identifier from the response. * * @return the fileId */ public byte[] getFileId() { return this.fileId; } /** * Gets the decoded output data from the response. * * @return the outputData */ public Decodable getOutputData() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
public int getFid() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); } return this.fid; } public byte[] getFileId() throws SmbException { if (!isValid()) { throw new SmbException("Descriptor is no longer valid"); } return this.fileId; } /** * @return the initialSize
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
if (th.isSMB2()) { final Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB); req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); req.setInputData(new ByteEncodable(buf, off, length)); req.setMaxOutputResponse(maxRecvSize);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
assertEquals(0xA5A5A5A5, resp.getFileAttributes()); assertEquals(0xA5A5A5A5, resp.getAttributes()); // SmbBasicFileInfo mapping assertArrayEquals(fileId, resp.getFileId()); assertEquals("file.txt", resp.getFileName()); // No create contexts section present -> null assertNull(resp.getCreateContexts()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
file.getTree().send(createReq); if (response.isSuccess()) { // Update file with new handle file.setFileId(response.getFileId()); handleManager.completeReconnect(info.path, true); return file; } else { throw new IOException("Reconnect failed: " + response.getStatus());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
@Override public final int getAttributes() { return getFileAttributes(); } /** * Get the unique file identifier * @return the fileId */ public final byte[] getFileId() { return this.fileId; } /** * Get the file name * @return the fileName */ public final String getFileName() { return this.fileName; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (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) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockHandle.isValid()).thenReturn(true); when(mockHandle.acquire()).thenReturn(mockHandle); when(mockHandle.getTree()).thenReturn(mockTree); when(mockHandle.getFileId()).thenReturn(new byte[16]); when(mockTree.getReceiveBufferSize()).thenReturn(0x10000); when(mockTree.getMaximumBufferSize()).thenReturn(0x10000); when(mockTree.getConfig()).thenReturn(mockConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)