- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Trans2FindFirst2 (0.07 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
* Initiates directory enumeration operations in SMB1 protocol, allowing clients * to search for files and directories matching specified patterns and criteria. * * @author mbechler */ public class Trans2FindFirst2 extends SmbComTransaction { // flags static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; static final int FLAGS_RETURN_RESUME_KEYS = 0x04;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; class Trans2FindFirst2 extends SmbComTransaction { // flags private static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
// Test standard path without trailing backslash trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path", "*.txt", 0x16, 10, 1024); assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2FindFirst2.getCommand()); assertEquals(Trans2FindFirst2.TRANS2_FIND_FIRST2, trans2FindFirst2.getSubCommand()); assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
import jcifs.SmbResourceLocator; import jcifs.internal.smb1.com.SmbComBlankResponse; import jcifs.internal.smb1.com.SmbComFindClose2; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.smb1.trans2.Trans2FindFirst2; import jcifs.internal.smb1.trans2.Trans2FindFirst2Response; import jcifs.internal.smb1.trans2.Trans2FindNext2; class DirFileEntryEnumIterator1 extends DirFileEntryEnumIteratorBase {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java
this.filename = filename; command = SMB_COM_TRANSACTION2; subCommand = TRANS2_FIND_NEXT2; informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO; flags = 0x00; maxParameterCount = 8; maxDataCount = Trans2FindFirst2.LIST_SIZE; maxSetupCount = 0; } @Override void reset(final int resumeKey, final String lastName) { super.reset();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
import jcifs.util.Hexdump; /** * Trans2 FindNext2 request message for SMB1 directory enumeration continuation. * This class implements the TRANS2_FIND_NEXT2 transaction to retrieve subsequent * directory entries after a Trans2FindFirst2 request, supporting large directory listings. */ public class Trans2FindNext2 extends SmbComTransaction { private final int sid, informationLevel; private int resumeKey; private final int tflags;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Verify maxItems (2 bytes) assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104) assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4)); // Verify resumeKey (4 bytes) assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
throw e; } catch (final CIFSException e) { throw SmbException.wrap(e); } } else { final Trans2FindFirst2 req = new Trans2FindFirst2(tf.getConfig(), "\\", "*", SmbConstants.ATTR_DIRECTORY, tf.getConfig().getListCount(), tf.getConfig().getListSize());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
if (LOGON_SHARE == null) { tree.treeConnect(null, null); } else { final Trans2FindFirst2 req = new Trans2FindFirst2("\\", "*", SmbFile.ATTR_DIRECTORY); final Trans2FindFirst2Response resp = new Trans2FindFirst2Response(); tree.send(req, resp); } } /* 0 - not connected
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(url.toString() + " directory must end with '/'"); } req = new Trans2FindFirst2(path, wildcard, searchAttributes); resp = new Trans2FindFirst2Response(); if (LogStream.level >= 3) { log.println("doFindFirstNext: " + req.path); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)