Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Virus Scan Incoming Files Under Program Control
Message
From
20/06/1997 18:40:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Virus Scan Incoming Files Under Program Control
Miscellaneous
Thread ID:
00037245
Message ID:
00037245
Views:
62
I am interested in automating a task in an Internet application that involves virus scanning of incoming files before they are available to others for download.

Basically, I have a Web Connection form wherein users can register a file and upload it to a FTP directory. The file is simultaneously recorded in a DBF. I set a flag 'Doc_VirusScan' to .F. until someone has manually checked the file.

I'm wondering if any of the better virus scanning software allows access via OLE Automation or some other API call. Although I am using McAfee, I would consider switching products. I'm envisioning a function that reports success/failure without any user intervention, so that it is compatible with a server architecture. A hypothetical program:

SCAN FOR Doc_VirusScan = .F.
lcFile = Doc_Path + Doc_FileName
IF FILE( m.lcFile)
o = CREATEOBJECT( 'VirusScanner.Application')
IF o.Scan( m.lcFile) =
REPLACE Doc_VirusScan WITH .T.
ENDIF
ENDSCAN

A good idea<s>, but does it exist? Also, this needs to run on NT not 95.
Reply
Map
View

Click here to load this message in the networking platform