3.2.5.18 Receiving an SMB2 SET_INFO Response

If Connection.Dialect belongs to the SMB 3.x dialect family and the status code is STATUS_FILE_NOT_AVAILABLE, and Connection.ServerCapabilities includes SMB2_GLOBAL_CAP_PERSISTENT_HANDLES or SMB2_GLOBAL_CAP_MULTI_CHANNEL, the client MUST look up the request in Connection.OutstandingRequests using the MessageId field of the SMB2 header. If the request is found, the client SHOULD<193> replay the request by setting SMB2_FLAGS_REPLAY_OPERATION bit in the SMB2 header.

The client MUST return the received status code in the Status field of the SMB2 header of the response to the application that issued the request to set information on the file, underlying object store, or named pipe. This applies for requests to set file information, underlying object store information, quota information, and security information.