- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getFileId (0.08 sec)
-
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) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
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 {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
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); } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
SmbTreeHandleImpl th = fh.getTree() ) { if ( th.isSMB2() ) { Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB); req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); req.setInputData(new ByteEncodable(buf, off, length)); req.setMaxOutputResponse(maxRecvSize);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 10.3K bytes - Viewed (0) -
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);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0)