The output format of
clamd is very similar to
$ telnet localhost 3310
Connected to localhost.
Escape character is '^]'.
/home/zolw/test/clam.exe: ClamAV-Test-File FOUND
Connection closed by foreign host.
In the SCAN mode it closes the connection when the first virus
/home/zolw/test/clam.zip: ClamAV-Test-File FOUND
CONTSCAN and MULTISCAN don't stop scanning in case
a virus is found.
Error messages are printed in the following format:
/no/such/file: Can't stat() the file. ERROR