KB Article #101149

Is the EMF current virus pattern file number available to scripts?

Is the EMF current virus pattern file number available to scripts?

Summary:

The number must be obtained by doing a Windows directory name read on the EMF virus pattern subdirectories.

Detailed Information:

EMF does not store the current virus pattern file number (for example in the registry). If you would like to reference the current pattern file number from a program or script, you have to do a Windows directory name read (the same thing that EMF does). The virus pattern files that have been in effect in your installation are stored in directories, named by the pattern number, under the Email Firewall installation directory. The highest number will be the current pattern file number. For example, in the following directory structure:

\Program Files
....\Tumbleweed
........\Email Firewall
............\4141
............\4142
............\4143
............\4144
............\Archive
.
.
.

the current virus pattern number is 4144.

Resolution:

Please consult your script/programming documentation for the appropriate API calls to do the directory name read.