Thank you for your answer.
Trying to be more forthcoming I can explain the code I'm making.
- I get the full list of files under c:\windows\system32 folder, just files, not folders (4913 files in my case).
- I send every file name to clamd using the SCAN command.
The whole process takes almost 5 minutes, and I'm trying to drastically reduce that time.
The problems I have are:
- I cannot use MULTISCAN command, if I send the command MULTISCAN c:\windows\system32 everything will be scanned including folders.
- I cannot use MULTISCAN command under a clamd session, clamd does not allow it (with this option I could send every filename using MULTISCAN command under a session)
- SCAN is not multithread and this is the reason for the 5 required minutes
Possible solutions are:
- Non recursive MULTISCAN ( seems that this is not available )
- Multithread SCAN command ( seems that is not available )
Is there another solution here?
Thank you very much!