Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Trans2QueryPathInformation (0.19 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

     * various file information levels such as basic info, standard info, and attributes.
     */
    public class Trans2QueryPathInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        /**
         * Constructs a Trans2QueryPathInformation request.
         *
         * @param config the SMB configuration
         * @param filename the path to query information for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        Trans2QueryPathInformation(final String filename, final int informationLevel) {
            path = filename;
            this.informationLevel = informationLevel;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            String filename = "test.txt";
            int informationLevel = 257; // 0x0101
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
    
            // When
            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        void testMapInformationLevel() {
            // Test valid information levels
            assertEquals(0x0101, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_BASIC_INFO));
            assertEquals(0x0102, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_STANDARD_INFO));
            assertEquals(0x0104, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_ENDOFFILE_INFO));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(Trans2QueryPathInformation.mapInformationLevel(this.info.getFileInformationLevel()), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.smb1.trans2.Trans2QueryFSInformation;
    import jcifs.internal.smb1.trans2.Trans2QueryFSInformationResponse;
    import jcifs.internal.smb1.trans2.Trans2QueryPathInformation;
    import jcifs.internal.smb1.trans2.Trans2QueryPathInformationResponse;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                 */
    
                final Trans2QueryPathInformationResponse response = new Trans2QueryPathInformationResponse(infoLevel);
                send(new Trans2QueryPathInformation(path, infoLevel), response);
    
                return response.info;
            }
            final SmbComQueryInformationResponse response =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top