2.2.2.12 DOWNLOAD_RESPONSE_ENTRY

The DOWNLOAD_RESPONSE_ENTRY structure specifies the server response data for a file being downloaded.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SyncItemId (24 bytes)

...

...

DataLength

...

Data (variable)

...

...

Result

FileHash

...

...

...

SyncItemId (24 bytes): A SYNC_GID structure as specified in [MS-FSVCA] section 2.1. An identifier that is used to correlate the file metadata with the Sync Framework change item.

DataLength (8 bytes): A 64-bit unsigned integer containing the length, in bytes, of the Data field.

Data (variable): The contents of the file being downloaded from the server.

Result (4 bytes): The result of the file download operation. When the result indicates an error, the DataLength field MUST be zero and the Data field MUST be empty. This MUST be in the format specified in [MS-DTYP] section 2.2.18.

FileHash (16 bytes): The MD5 hash, as specified in [RFC1321], of the file contents. The hash is serialized in SYNC_MD5HASH format as specified in section 2.2.2.15.