Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SMB_COM_TRANSACTION2 (1.5 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        @Test
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command should be SMB_COM_TRANSACTION2 (0x32 = 50)
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
            // The subcommand should be TRANS2_FIND_FIRST2 (0x01 = 1)
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

         */
        public Trans2FindFirst2(final Configuration config, final String filename, final String wildcard, final int searchAttributes,
                final int batchCount, final int batchSize) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryFSInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        Trans2QueryFSInformation(final int informationLevel) {
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_FS_INFORMATION;
            this.informationLevel = informationLevel;
            totalParameterCount = 2;
            totalDataCount = 0;
            maxParameterCount = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

         * @param informationLevel the file system information level to query
         */
        public Trans2QueryFSInformation(final Configuration config, final int informationLevel) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_FS_INFORMATION);
            this.informationLevel = informationLevel;
            this.totalParameterCount = 2;
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

        private final int informationLevel;
    
        Trans2QueryPathInformation(final String filename, final int informationLevel) {
            path = filename;
            this.informationLevel = informationLevel;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_PATH_INFORMATION;
            totalDataCount = 0;
            maxParameterCount = 2;
            maxDataCount = 40;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

            this(filename, 3);
        }
    
        Trans2GetDfsReferral(final String filename, final int maxReferralLevel) {
            this.maxReferralLevel = maxReferralLevel;
            path = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_GET_DFS_REFERRAL;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 4096;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

        Trans2FindNext2(final int sid, final int resumeKey, final String filename) {
            this.sid = sid;
            this.resumeKey = resumeKey;
            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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        /**
         * Constructs a Trans2FindFirst2Response.
         *
         * @param config the configuration to use
         */
        public Trans2FindFirst2Response(final Configuration config) {
            super(config, SMB_COM_TRANSACTION2, SmbComTransaction.TRANS2_FIND_FIRST2);
        }
    
        /**
         * Gets the search ID for this response.
         *
         * @return the sid
         */
        public final int getSid() {
            return this.sid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            this.fid = fid;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_SET_FILE_INFORMATION;
            maxParameterCount = 6;
            maxDataCount = 0;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

         * @param informationLevel the information level to query
         */
        public Trans2QueryPathInformation(final Configuration config, final String filename, final int informationLevel) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_PATH_INFORMATION);
            this.path = filename;
            this.informationLevel = informationLevel;
            this.totalDataCount = 0;
            this.maxParameterCount = 2;
            this.maxDataCount = 40;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top