ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
return codes
dstj


Joined: 31 Aug 2006
Posts: 4
Reply with quote
i am trying to use the command line scanner.
But it's not returning a 1 or 0 for a return code like the manual says.
When i run from the command prompt, i get filename = OK
In the command line application i'm trying to use, i keep getting a return code of 56.
Any ideas ?


Dave
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1751
Reply with quote
ret code 56 is "Can't access file"
View user's profileSend private message
dstj


Joined: 31 Aug 2006
Posts: 4
Reply with quote
great...thanks. Got it going.
Is 10sec a reasonable amount of time to scan a file of 80 Kbytes ?
Is there a way to speed it up ?

Dave
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1751
Reply with quote
don't forget that every time you run clamscan it loads and verifies the database. Also if your 80 knb file is a container (archive, mailbox, msi file) then scaning may take longer.
View user's profileSend private message
dstj


Joined: 31 Aug 2006
Posts: 4
Reply with quote
Is there an option to disable verification of database for each scan ?
With daily updates to the database, wouldn't that be enough verification ?

Great product by the way.

Dave
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1751
Reply with quote
no there isn't.

Every time the clamscan program loads up it needs to:
1. validate that the database has not been tampered with (it doesn't matter how many times per day it is downloaded, a virus can potentially tamper it any time)
2. unpack it and load into memory
View user's profileSend private message
return codes
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