Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FileAttributes (0.23 sec)

  1. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
Back to top