< Home

ftp-control file direction action

Function

The ftp-control file direction action command controls FTP file upload and download.

The undo ftp-control file direction action command cancels the control over FTP file upload and download.

Format

ftp-control file direction { upload | download } action { permit | deny }

undo ftp-control file direction { upload | download } action

Parameters

Parameter Description Value
upload Indicates file upload. -
download Indicates file download. -
permit Permits file transfer. -
deny Denies file transfer. -

Views

Application behavior control profile view

Default Level

2: Configuration level

Usage Guidelines

FTP file upload and download is permitted by default.

Example

# Create application behavior control profile hello in the system view and deny FTP file upload in the profile.

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