Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Virus Scan Incoming Files Under Program Control
Message
De
20/06/1997 18:40:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Virus Scan Incoming Files Under Program Control
Divers
Thread ID:
00037245
Message ID:
00037245
Vues:
60
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform