Patent ID: 7971254

Claim:
A method for performing virus detection on a file having a plurality of sections, the method comprising: using a computer processor to perform method steps, the steps comprising: receiving a first section of the file; determining whether the entire first section is available and whether the first section requires virus scanning; responsive to the determination the first section of the file does not require scanning, transmitting the first section of the file; responsive to the determination the first section requires scanning, scanning the first section of the received file for viruses and producing virus free first scanned data after enough of the first section of the file has been received to perform scanning, wherein producing virus free first scanned data comprises rewriting the first section of the received file and re-encoding the first section of the received file in a correct packet format; receiving a second section of the file; determining whether the entire second section is available and whether the second section requires virus scanning; while scanning the first section of the received file for viruses, simultaneously scanning the second section of the received file for viruses and producing virus free second scanned data, wherein producing virus free second scanned data comprises rewriting the second section of the received file and re-encoding the second section of the received file in a correct packet format; transmitting the virus free first scanned data; and transmitting the virus free second scanned data.