Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for FileAttributes (0.48 sec)

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

            return 0;
        }
        public String toString() {
            return new String( "SmbComQueryInformationResponse[" +
                super.toString() +
                ",fileAttributes=0x" + Hexdump.toHexString( fileAttributes, 4 ) +
                ",lastWriteTime=" + new Date( lastWriteTime ) +
                ",fileSize=" + fileSize + "]" );
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

        private int fileAttributes;
        private long lastWriteTime;
    
    
        /**
         * 
         * @param config
         * @param filename
         * @param attrs
         * @param mtime
         */
        public SmbComSetInformation ( Configuration config, String filename, int attrs, long mtime ) {
            super(config, SMB_COM_SET_INFORMATION, filename);
            this.fileAttributes = attrs;
            this.lastWriteTime = mtime;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                ServerMessageBlock andx ) {
            super(config, SMB_COM_OPEN_ANDX, fileName, andx);
            this.fileAttributes = fileAttributes;
    
            this.desiredAccess = access & 0x3;
            if ( this.desiredAccess == 0x3 ) {
                this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
    
            // map shareAccess as far as we can
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         * @return the grantedAccess
         */
        public final int getGrantedAccess () {
            return this.grantedAccess;
        }
    
    
        /**
         * @return the fileAttributes
         */
        public final int getFileAttributes () {
            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbComQueryInformationResponse[" + super.toString() + ",fileAttributes=0x" + Hexdump.toHexString(this.fileAttributes, 4)
                        + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",fileSize=" + this.fileSize + "]");
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  6. cmd/os_windows.go

    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

            return 0;
        }
        public String toString() {
            return new String( "SmbComOpenAndXResponse[" +
                super.toString() +
                ",fid=" + fid +
                ",fileAttributes=" + fileAttributes +
                ",lastWriteTime=" + lastWriteTime +
                ",dataSize=" + dataSize +
                ",grantedAccess=" + grantedAccess +
                ",fileType=" + fileType +
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            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 ) {
                // truncate the file
                if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        @Override
        public long getSize () {
            return getEndOfFile();
        }
    
    
        /**
         * @return the fileAttributes
         */
        public int getFileAttributes () {
            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.desiredAccess = desiredAccess;
        }
    
    
        /**
         * @param fileAttributes
         *            the fileAttributes to set
         */
        public void setFileAttributes ( int fileAttributes ) {
            this.fileAttributes = fileAttributes;
        }
    
    
        /**
         * @param shareAccess
         *            the shareAccess to set
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
Back to top