"Events and Messages : Reactive" - Scan every uploaded file for viruses using AVG
This example illustrates how to use AVG to scan uploaded files for viruses. The script requires AVG to be installed.
Event in zFTPServer:
Message in zFTPServer:
Closing data connection.%EXECUTE("C:\Scripts\Scan.cmd" "%LOCAL_FILENAME%")%
Contents of file "C:\Scripts\Scan.cmd":
"C:\Program\AVG\AVG8\AVGSCANX.EXE" /HEUR /ARC /CLEAN /SCAN=%1