- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Smb2SetInfoRequest (0.19 sec)
-
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
* @author mbechler * */ public class Smb2SetInfoRequest extends ServerMessageBlock2Request<Smb2SetInfoResponse> implements RequestWithFileId { private byte[] fileId; private byte infoType; private byte fileInfoClass; private int additionalInformation; private Encodable info; /** * * @param config */ public Smb2SetInfoRequest ( Configuration config ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb/SmbFile.java
dest.attrExpiration = dest.sizeExpiration = 0; /* * Rename Request / Response */ if ( sh.isSMB2() ) { Smb2SetInfoRequest req = new Smb2SetInfoRequest(sh.getConfig()); req.setFileInformation(new FileRenameInformation2(dest.getUncPath().substring(1), replace));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)