Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setFileAttributes (1.11 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.desiredAccess = desiredAccess;
        }
    
        /**
         * Set the file attributes for the created file
         * @param fileAttributes the fileAttributes to set
         */
        public void setFileAttributes(final int fileAttributes) {
            this.fileAttributes = fileAttributes;
        }
    
        /**
         * Set the share access mode for the file
         * @param shareAccess the shareAccess to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testSetFileAttributes() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int attributes = 0x00000020; // FILE_ATTRIBUTE_ARCHIVE
            request.setFileAttributes(attributes);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read file attributes from buffer (offset 28-31)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                    req.setDesiredAccess(access);
                    setCreateDisposition(req, flags);
                    req.setShareAccess(sharing);
                    req.setFileAttributes(attrs);
    
                    // Add SMB3 features support with error handling for compatibility
                    SmbSessionImpl session = h.getSession();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top