Hi there,
On Sat, 28 Jan 2012, Simon Hobson wrote:
Andy Newby wrote:
> How can we have clamAV automatically scan the images after they are
> uploaded (to catch any viruses as quickly as possible)?
You'd need to get your software to do that. Between accepting the
upload and doing anything with it, call Clamscan to scan it.
Alternatively, and I don't know if this is possible, I believe some
OSs have facilities to monitor a filesystem for changes. If you can
get the system to tell you when a new file has been created in your
upload directory, then you could scan it then - but of course you may
need to wait for the upload to complete.
You're looking for 'inotify'.
--
73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml