A system and method are provided for storing and using recovery state
information during a data stream transfer, such as a download. During the
download of compressed, archived data, the system tracks the position of
the last file boundary and the position of the last compression block
boundary before the last file boundary, and the system stores this
information as a recovery state. If the download is interrupted, the
system uses the recovery state information to resume the download at an
efficient location in the data stream.