Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getFileId (0.23 sec)

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

                if ( cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_OK ) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    }
                    catch ( SmbException e2 ) {
                        e.addSuppressed(e2);
                    }
                }
    
                Smb2QueryDirectoryResponse qr = query.getResponse();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                        log.debug(String.format("Copied a total of %d bytes", off));
                    }
    
                    if ( dh.isSMB2() ) {
                        Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());
                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    }
                    else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                do {
                    r = len > this.readSize ? this.readSize : len;
    
                    if ( th.isSMB2() ) {
                        Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fh.getFileId(), b, off);
                        request.setOffset(this.fp);
                        request.setReadLength(r);
                        request.setRemainingBytes(len - off);
                        try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    if ( !append && this.smb2 ) {
                        // no open option for truncating, need to truncate the file
                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeInputStream.java

                  SmbTreeHandleImpl th = fd.getTree() ) {
                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_PEEK, fd.getFileId());
                    req.setMaxOutputResponse(16);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 07:12:23 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                CommonServerMessageBlockRequest req;
                NotifyResponse resp = null;
                if ( th.isSMB2() ) {
                    Smb2ChangeNotifyRequest r = new Smb2ChangeNotifyRequest(th.getConfig(), this.handle.getFileId());
                    r.setCompletionFilter(this.filter);
                    r.setNotifyFlags(this.recursive ? Smb2ChangeNotifyRequest.SMB2_WATCH_TREE : 0);
                    req = r;
                }
                else {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        /**
         * @return the endOfFile
         */
        public final long getEndOfFile () {
            return this.endOfFile;
        }
    
    
        /**
         * @return the fileId
         */
        public byte[] getFileId () {
            return this.fileId;
        }
    
    
        /**
         * @return the fileName
         */
        public String getFileName () {
            return this.fileName;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        }
    
    
        /**
         * @return the ioctlFlags
         */
        public int getIoctlFlags () {
            return this.ioctlFlags;
        }
    
    
        /**
         * @return the fileId
         */
        public byte[] getFileId () {
            return this.fileId;
        }
    
    
        /**
         * @return the outputData
         */
        public Decodable getOutputData () {
            return this.outputData;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final int getAttributes () {
            return getFileAttributes();
        }
    
    
        /**
         * @return the fileId
         */
        public final byte[] getFileId () {
            return this.fileId;
        }
    
    
        /**
         * @return the fileName
         */
        public final String getFileName () {
            return this.fileName;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

                    }
    
                    try {
    
                        if ( th.isSMB2() ) {
                            Smb2ReadRequest request = new Smb2ReadRequest(th.getConfig(), fd.getFileId(), b, off);
                            request.setOffset(type == SmbConstants.TYPE_NAMED_PIPE ? 0 : this.fp);
                            request.setReadLength(r);
                            request.setRemainingBytes(len - r);
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
Back to top