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, the client SHOULD<161> replay the SetInfo request by looking up the request in Connection.OutstandingRequests using the MessageId field of 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.