Hi,
Is it possible to handle somehow this request with clamav? 1. User uploads file to web site 2. File is loaded into memory (byte stream) 3. File byte stream is sent to ClamAV for scanning 4. ClamAV returns OK or VIRUS 5. If OK, store file in the database, if VIRUS, return error to user I'd imagine to scan the file ClamAV will need to write the byte stream into a temporary file which then gets deleted after the scan. I've got a POC working on a Windows server. You can connect via TCP to the ClamAV daemon and invoke commands. We'd use the INSTREAM command which sends the file over in a byte stream for scanning. Is it possible? Thank you. This communication and any attachments transmitted with it is intended only for the stated addressee(s) and may be confidential. Any unauthorised disclosure, use or dissemination, either whole or in part is prohibited. If you have received this email in error, please notify the SFW IT Support team immediately at supp...@sfwltd.co.uk and delete, erase or otherwise destroy this email. Opinions expressed in this email are those of the author and do not necessarily reflect the opinions of SFW Ltd or SFW India Pvt Ltd. SFW Ltd. Registered Office: Southern House, Station Approach, Woking, Surrey, GU22 7UY Registered in England No: 2740301 VAT No. 591 7842 02 _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml