Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for searchAttributes (0.39 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComRename.java

    class SmbComRename extends ServerMessageBlock {
    
        private int searchAttributes;
        private String oldFileName;
        private String newFileName;
    
        SmbComRename( String oldFileName, String newFileName ) {
            command = SMB_COM_RENAME;
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

            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 ) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

        static CloseableIterator<SmbResource> doEnum ( SmbFile parent, String wildcard, int searchAttributes, ResourceNameFilter fnf, ResourceFilter ff )
                throws CIFSException {
            DosFileFilter dff = unwrapDOSFilter(ff);
            if ( dff != null ) {
                if ( dff.wildcard != null )
                    wildcard = dff.wildcard;
                searchAttributes = dff.attributes;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM;
    
            // fileAttributes
            fileAttributes = 0;
    
            // openFunction
            if(( flags & SmbFile.O_TRUNC ) == SmbFile.O_TRUNC ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        Trans2FindFirst2( String filename, String wildcard, int searchAttributes ) {
            if( filename.equals( "\\" )) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
            command = SMB_COM_TRANSACTION2;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComDelete.java

    
    /**
     * 
     */
    public class SmbComDelete extends ServerMessageBlock {
    
        private int searchAttributes;
    
    
        /**
         * 
         * @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;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                throws CIFSException {
            this.parent = parent;
            this.wildcard = wildcard;
            this.nameFilter = filter;
            this.searchAttributes = searchAttributes;
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if ( this.next == null ) {
                    doClose();
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

    
        /**
         * 
         * @param config
         * @param filename
         * @param wildcard
         * @param searchAttributes
         * @param batchCount
         * @param batchSize
         */
        public Trans2FindFirst2 ( Configuration config, String filename, String wildcard, int searchAttributes, int batchCount, int batchSize ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if ( filename.equals("\\") ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

    class SmbComDelete extends ServerMessageBlock {
    
        private int searchAttributes;
    
        SmbComDelete( String fileName ) {
            this.path = fileName;
            command = SMB_COM_DELETE;
            searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
            }
    
            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 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
Back to top