Dale Walsh said:
> I'm wondering if someone can help me, I've got an application that
> copies files, what I'd like to do is utilize the clamd daemon to scan
> the file if the daemon is running.

Probably 90% of what you need is already in clamdwatch so with it as a
starting point and with a little modification to a copy of it you should
be able to build a demo script then refine it as needed to do what you
need. It already handles the socket stuff and also uses itself as a file
to test so that example is also there to exploit.

As much as I don't like Perl I do use that script and my own variants for
quite a few things.

dp


_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to