[clamav-users] Can clamd output file type

Zachary Segal zach at illproductions.com
Thu Apr 12 04:43:15 UTC 2018


Hi,

I cannot figure out how to have clamd output the file type of the scanned file. I am sending commands to the daemon with a local socket, ie: `nSCAN /full/file/path`.

Is it possible to get the file type this way? I noticed that clamscan can be run in debug mode and the file type gleaned from the output, but I would prefer to use clamd.

Thanks so much for any help you can offer, it is much appreciated.


More information about the clamav-users mailing list