Module jcifs

Class Smb2WriteRequest

All Implemented Interfaces:
CommonServerMessageBlock, CommonServerMessageBlockRequest, Request<Smb2WriteResponse>, RequestWithFileId, Message, Request

public class Smb2WriteRequest extends ServerMessageBlock2Request<Smb2WriteResponse> implements RequestWithFileId
SMB2 Write request message. This command is used to write data to a file that has been previously opened with a Create request.
Author:
mbechler
  • Field Details

    • OVERHEAD

      public static final int OVERHEAD
      The overhead size in bytes for an SMB2 write request packet.
      See Also:
  • Constructor Details

    • Smb2WriteRequest

      public Smb2WriteRequest(Configuration config, byte[] fileId)
      Creates a new SMB2 write request for writing data to a file.
      Parameters:
      config - the CIFS configuration
      fileId - the file identifier for the target file
  • Method Details