Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for ATTR_SYSTEM (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            this.searchAttributes = SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM;
    
            // openFunction
            if ((flags & SmbConstants.O_TRUNC) == SmbConstants.O_TRUNC) {
                // truncate the file
                if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

        void fileAttributesTest() {
            assertEquals(0x01, SmbConstants.ATTR_READONLY);
            assertEquals(0x02, SmbConstants.ATTR_HIDDEN);
            assertEquals(0x04, SmbConstants.ATTR_SYSTEM);
            assertEquals(0x08, SmbConstants.ATTR_VOLUME);
            assertEquals(0x10, SmbConstants.ATTR_DIRECTORY);
        }
    
        /**
         * Test FLAGS constants.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * A file with this bit on as returned by {@code getAttributes()} or set
         * with {@code setAttributes()} will be a system file
         */
        public static final int ATTR_SYSTEM = 0x04;
        /**
         * A file with this bit on as returned by {@code getAttributes()} is
         * a volume
         */
        public static final int ATTR_VOLUME = 0x08;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        // file attribute encoding
        /** Read-only file attribute */
        int ATTR_READONLY = 0x01;
        /** Hidden file attribute */
        int ATTR_HIDDEN = 0x02;
        /** System file attribute */
        int ATTR_SYSTEM = 0x04;
        /** Volume label attribute */
        int ATTR_VOLUME = 0x08;
        /** Directory attribute */
        int ATTR_DIRECTORY = 0x10;
        /** Archive attribute */
        int ATTR_ARCHIVE = 0x20;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                    }
                }
            }
    
            try (CloseableIterator<SmbResource> it = SmbEnumerationUtil.doEnum(src, "*",
                    SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null)) {
                while (it.hasNext()) {
                    try (SmbResource r = it.next()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

         */
        int ATTR_READONLY = 0x01;
        /**
         * File is marked hidden
         */
        int ATTR_HIDDEN = 0x02;
        /**
         * File is marked a system file
         */
        int ATTR_SYSTEM = 0x04;
        /**
         * File is marked a volume
         */
        int ATTR_VOLUME = 0x08;
        /**
         * File is a directory
         */
        int ATTR_DIRECTORY = 0x10;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top