3.3.4.1.1 File Is Added/Updated on the Upstream Partner

Flags:

If the staging file is not compressed: MUST be a bitwise OR of the following flags.

  • CO_FLAG_LOCALCO if originating on the upstream partner.

  • CO_FLAG_LOCATION_CMD if creating a file.

  • CO_FLAG_CONTENT_CMD if creating a file that is non zero in size.

If the staging file is compressed: MUST be a bitwise OR of the following flags.

  • CO_FLAG_COMPRESSED_STAGE

  • CO_FLAG_LOCALCO if originating on the upstream partner.

  • CO_FLAG_LOCATION_CMD if creating a file.

  • CO_FLAG_CONTENT_CMD if creating a file that is non zero in size.

IFlags: MUST be 0.

ContentCmd: MUST be a bitwise OR of zero or more of the following flags based on the nature of the update to the file.

  • REASON_BASIC_INFO_CHANGE

  • REASON_DATA_EXTEND

  • REASON_DATA_OVERWRITE

LocationCmd:

Creating a new file: MUST be 0. (CO_LOCATION_CREATE on the file.)

Updating an existing file: LocationCmd is not needed. MUST be 0xE. (CO_LOCATION_NO_CMD on file.)

For an example, see section 4.5.1. <73>