< Home

ftp-audit file direction

Function

The ftp-audit file direction command audits the files transferred through FTP.

The undo ftp-audit file direction command cancels the audit on the files transferred through FTP.

Format

ftp-audit file direction { upload | download | both }

undo ftp-audit file direction { upload | download | both }

Parameters

Parameter Description Value
upload Indicates the file upload direction. -
download Indicates the file download direction. -
both Indicates both the upload and download directions. -

Views

Audit profile view

Default Level

2: Configuration level

Usage Guidelines

By default, the system does not audit the file transfer through FTP.

The items that can be audited are file transfer duration, file name, and file size but do not include file contents.

Example

# Create an audit profile named hello to audit file upload through FTP.

<sysname> system-view
[sysname] profile type audit name hello
[sysname-profile-audit-hello] ftp-audit file direction upload
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >