Put - H3C IE4300 Command Reference Manual

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

Default
The FTP operation mode is passive.
Views
FTP client view
Predefined user roles
network-admin
Usage guidelines
FTP can operate in either of the following modes:
Active mode—The FTP server initiates the TCP connection.
Passive mode—The FTP client initiates the TCP connection.
When the FTP operation mode is passive, executing this command changes the mode to active.
When the FTP operation mode is active, executing this command changes the mode to passive.
This command is typically used together with a firewall to control FTP session establishment
between private network users and public network users.
Examples
# Change the FTP operation mode to passive.
ftp> passive
Passive mode on.
ftp> passive
Passive mode off.

put

Use
to upload a file from the FTP client to the FTP server.
put
Syntax
put localfile [ remotefile ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
localfile
remotefile
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To upload a file in the current working directory, specify a file name without the path for the
localfile
To upload a file in some other directory, specify a fully qualified file name for the
argument, for example, flash:/subdirectory/a.cfg.
Examples
# Upload the a.txt file from the local working directory to the FTP server. Save the file as b.txt.
: Specifies the local file to be uploaded.
: Specifies the name of the file for saving the uploaded file on the FTP server.
argument, for example, a.cfg.
27
localfile

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents