The invention is directed to a method of transmitting a file having an
advertising portion and a requested portion different from the
advertising portion. The method includes receiving a request to transmit
the file, via a streaming protocol allowing non-sequential access,
transmitting the advertising portion of the file, receiving a request to
transmit a portion of the requested portion of the file prior to
completing transmitting the advertising portion of the file, completing
the transmission of the advertising portion of the file, and transmitting
the requested portion of the file.