ftp-detect
Function
The ftp-detect command enables antivirus (AV) scanning for the files transmitted using FTP.
The undo ftp-detect command disables AV scanning for the files transmitted using FTP.
Format
ftp-detect direction { both | download | upload } [ action { alert | block } ]
undo ftp-detect [ direction ] [ action ]
Parameters
Parameter | Description | Value |
---|---|---|
direction { both | download | upload } | Specifies the transmission direction of the files requiring AV scanning. |
The direction can be one of the following:
|
action { alert | block } | Specifies the response action. |
The response action can be either of the following
(the default action is block):
|
Usage Guidelines
By default, the system scans viruses on files both uploaded and downloaded using FTP.
If no response action is specified during the initial configuration, the default action block takes effect. If no response action is specified during configuration modification, the action configured last time will be used.
- Upload: The file is sent from a client to a server.
- Download: The file is sent from a server to a client.
Connections are generally initiated by a client. To ensure that connections can be established and the AV process can be implemented successfully, configure the zone of the client as the source and that of the server as the destination when you configure the attack defense profile.