Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setCreateOptions (0.07 sec)

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

            final SmbTreeHandleImpl th = getTreeHandle();
            final String uncPath = getParent().getLocator().getUNCPath();
            final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            final Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testSetCreateOptions() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int options = Smb2CreateRequest.FILE_DIRECTORY_FILE | Smb2CreateRequest.FILE_DELETE_ON_CLOSE;
            request.setCreateOptions(options);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read create options from buffer (offset 40-43)
    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/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the create options that control file creation behavior
         * @param createOptions the createOptions to set
         */
        public void setCreateOptions(final int createOptions) {
            this.createOptions = createOptions;
        }
    
        /**
         * Set the create contexts for this request
         * @param contexts the create contexts 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)
  4. src/main/java/jcifs/smb/SmbFile.java

                    if (th.isSMB2()) {
                        final Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName);
                        req.setDesiredAccess(0x10000); // delete
                        req.setCreateOptions(Smb2CreateRequest.FILE_DELETE_ON_CLOSE | Smb2CreateRequest.FILE_DIRECTORY_FILE);
                        req.setCreateDisposition(Smb2CreateRequest.FILE_OPEN);
    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