Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CAP_NT_SMBS (0.27 sec)

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

                    req = r;
                }
                else {
                    if ( !th.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                    }
    
                    /*
                     * NtTrans Notify Change Request / Response
                     */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int CAP_MPX_MODE         = 0x0002;
        static final int CAP_UNICODE          = 0x0004;
        static final int CAP_LARGE_FILES      = 0x0008;
        static final int CAP_NT_SMBS          = 0x0010;
        static final int CAP_RPC_REMOTE_APIS  = 0x0020;
        static final int CAP_STATUS32         = 0x0040;
        static final int CAP_LEVEL_II_OPLOCKS = 0x0080;
        static final int CAP_LOCK_AND_READ    = 0x0100;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/OplockTests.java

                            throw e;
                        }
                    }
                }
                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    }
                    else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        // use the open file descriptor
                        dh.send(
                            new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            }
    
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                if ( !th.isSMB2() && !th.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  7. src/main/java/jcifs/SmbResource.java

         * @param lastAccess
         *            the last access time as milliseconds since Jan 1, 1970
         * @throws CIFSException
         * @throws jcifs.smb.SmbUnsupportedOperationException
         *             if CAP_NT_SMBS is unavailable
         */
        void setFileTimes ( long createTime, long lastModified, long lastAccess ) throws CIFSException;
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\") ) {
                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    }
                    else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        static final int CAP_RAW_MODE = 0x0001;
        static final int CAP_MPX_MODE = 0x0002;
        static final int CAP_UNICODE = 0x0004;
        static final int CAP_LARGE_FILES = 0x0008;
        static final int CAP_NT_SMBS = 0x0010;
        static final int CAP_RPC_REMOTE_APIS = 0x0020;
        static final int CAP_STATUS32 = 0x0040;
        static final int CAP_LEVEL_II_OPLOCKS = 0x0080;
        static final int CAP_LOCK_AND_READ = 0x0100;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            writeSize = file.tree.session.transport.snd_buf_size - 70;
    
            useNTSmbs = file.tree.session.transport.hasCapability( ServerMessageBlock.CAP_NT_SMBS );
            if( useNTSmbs ) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
Back to top