- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Smb2SetInfoRequest (0.3 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
try ( SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree() ) { if ( th.isSMB2() ) { Smb2SetInfoRequest req = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); req.setFileInformation(new FileEndOfFileInformation(newLength)); th.send(req, RequestParam.NO_RETRY); }
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
} init(th); 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/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); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0)