ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Include database version in command-line version display
bret.miller


Joined: 29 Mar 2006
Posts: 0
Reply with quote
I'm currently using the sosdg.com distro of ClamAV for windows in an integration script for a mail server. The one thing I really like about it better than ClamWin is that it displays the database version information for clamscan --version. I'm not sure of the feasibility of doing that with ClamWin, but perhaps if --database=... is specified on the command line with --version, the database versions could be included too?

Another option would be to include version information in the scan summary. I'd actually prefer that since a separate call to get version information wouldn't be necessary, but I'm not sure whether that is your code or the ClamAV development team's code... Maybe I should ask them instead?

Thanks for listening.
View user's profileSend private messageSend e-mail
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
this issue happens because clamscan expects to find the database files in the default location and the path is unix-style:
/usr/share/clamav and clamwin uses different path location.

You can read first bytes form the main.cvd and daily.cvd to get the db version.
View user's profileSend private message
Include database version in command-line version display
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic