Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in FAQ: CompleteFTP by (8.6k points)
recategorized by
Is it possible to configure triggers to run antivirus-scans after events such as uploads? Or is there the possibility of using a plugin for CompleteFTP which will allow anti-virus scans?

1 Answer

0 votes
by (8.6k points)
edited by

Regarding virus scanning, the following will scan each uploaded file using Microsoft Defender:

Microsoft Defender will automatically take remedial action if a virus is found. If you need to define your own actions then you can use a batch script that checks the errorlevel returned by MpCmdRun, which will be 2 if a virus is found.

 You can also script more complex actions using Powershell or Javascript if necessary.