< Home

http-control file direction action

Function

The http-control file direction action command controls HTTP file upload and download.

The undo http-control file direction action command cancels the control over HTTP file upload and download.

Format

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

undo http-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

HTTP file upload and download is permitted by default.

Example

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

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