Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Tilden (0.18 sec)

  1. src/main/java/jcifs/SmbConstants.java

        // file attribute encoding
        /**
         * File is marked read-only
         */
        static final int ATTR_READONLY = 0x01;
        /**
         * File is marked hidden
         */
        static final int ATTR_HIDDEN = 0x02;
        /**
         * File is marked a system file
         */
        static final int ATTR_SYSTEM = 0x04;
        /**
         * File is marked a volume
         */
        static final int ATTR_VOLUME = 0x08;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

            super(config, SMB_COM_RENAME);
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            this.searchAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */ 
        public static final int ATTR_READONLY   = 0x01;
    /** 
     * A file with this bit on as returned by <tt>getAttributes()</tt> or set
     * with <tt>setAttributes()</tt> will be hidden
     */
        public static final int ATTR_HIDDEN     = 0x02;
    /**
     * A file with this bit on as returned by <tt>getAttributes()</tt> or set
     * with <tt>setAttributes()</tt> will be a system file
     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. 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
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComDelete.java

         * @param config
         * @param path
         */
        public SmbComDelete ( Configuration config, String path ) {
            super(config, SMB_COM_DELETE, path);
            this.searchAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                if ( this.fileLocator.getShare().endsWith("$") ) {
                    return true;
                }
                return false;
            }
            exists();
            return ( this.attributes & ATTR_HIDDEN ) == ATTR_HIDDEN;
        }
    
    
        @Override
        public long createTime () throws SmbException {
            if ( !this.fileLocator.isRootOrShare() ) {
                exists();
                return this.createTime;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComRename.java

        SmbComRename( String oldFileName, String newFileName ) {
            command = SMB_COM_RENAME;
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

    
        /**
         * Tests to see if the file this SmbResource represents is marked as
         * hidden. This method will also return true for shares with names that
         * end with '$' such as <code>IPC$</code> or <code>C$</code>.
         *
         * @return <code>true</code> if the <code>SmbResource</code> is marked as being hidden
         * @throws CIFSException
         */
        boolean isHidden () throws CIFSException;
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

                    if ( haveHidden && !Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        SmbFile[] hidden = f.listFiles(new DosFileFilter("*", SmbConstants.ATTR_HIDDEN));
                        assertNotNull(hidden);
                        assertEquals(1, hidden.length);
                    }
    
                    if ( haveArchive ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
                    assertEquals(attrs, f.getAttributes());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top