3.2.4.4 Application Requests Deleting a Directory

The application provides:

  • The Client.TreeConnect representing the share in which the directory to be deleted exists.

  • The pathname of the directory to be deleted, relative to Client.TreeConnect.ShareName.

  • A valid Client.Session.

The client MUST construct an SMB_COM_DELETE_DIRECTORY Request (section 2.2.4.2) message,with the following additional requirements:

  • The SMB_Header.TID field MUST match the Client.TreeConnect.TID supplied by the application.

  • The SMB_Header.UID field MUST match the Client.Session.UID supplied by the application.

  • The SMB_Data.Bytes.DirectoryName field MUST contain the pathname supplied by the application.

The request MUST be sent to the server as described in section 3.2.4.1.

Show: