Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. 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 + "]" );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  3. 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 + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. 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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  9. 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 +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final long getSize () {
            return getEndOfFile();
        }
    
    
        /**
         * @return the fileAttributes
         */
        public final int getFileAttributes () {
            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
Back to top