Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setDesiredAccess (0.14 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
            query.setFileName(getWildcard());
            create.chain(query);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.smbCreateFlags = smbCreateFlags;
        }
    
    
        /**
         * @param desiredAccess
         *            the desiredAccess to set
         */
        public void setDesiredAccess ( int desiredAccess ) {
            this.desiredAccess = desiredAccess;
        }
    
    
        /**
         * @param fileAttributes
         *            the fileAttributes to set
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                long fileSize = 0;
                if ( h.isSMB2() ) {
                    Smb2CreateRequest req = new Smb2CreateRequest(config, uncPath);
                    req.setDesiredAccess(access);
    
                    if ( ( flags & SmbConstants.O_TRUNC ) == O_TRUNC && ( flags & SmbConstants.O_CREAT ) == O_CREAT ) {
                        req.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE_IF);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top