How do you virus scan a file being uploaded to your java webapp as it streams? [closed]

Check out Clamv ( http://www.clamav.net/ ) It is a open source anti-virus, and you can scan a stream. So you do not need to save the file for scanning it. http://linux.die.net/man/1/clamscan Scan a data stream: cat testfile | clamscan – So it is quite easy, start the clamscan process with the – arg. write the … Read more