Command Manual – File System Management
H3C S7500E Series Ethernet Switches
Chapter 2 FTP Configuration Commands
2-21
Description
Use the
passive
command to set the data transmission mode to
passive
.
Use the
undo passive
command to set the data transmission mode to
active
.
The default transmission mode is
passive
.
Examples
# Set the data transmission mode to
passive
.
[ftp] passive
FTP: passive is on
2.2.22 put
Syntax
put
localfile
[
remotefile
]
View
FTP client view
Parameters
localfile
: Local file name.
remotefile
: Name of the file to be saved on the remote FTP server.
Description
Use the
put
command to upload a file to the remote FTP server.
If no name is assigned to the file to be saved on the FTP server, the name of the source
file is used by default.
Examples
# Upload source file
cc.txt
to the remote FTP server and save it as
dd.txt
.
[ftp] put cc.txt dd.txt
227 Entering Passive Mode (192,168,1,50,17,169).
125 ASCII mode data connection already open, transfer starting for dd.txt.
226 Transfer complete.
FTP: 9 byte(s) sent in 0.112 second(s), 80.00byte(s)/sec.
2.2.23 pwd
Syntax
pwd