passive
Syntax
View
Parameter
Description
Example
put
Syntax
View
Parameter
Description
Example
Connected to 3000::200.
220 Welcome!
User(3000::200:(none)): MY_NAME
331 Please specify the password.
Password:
230 Login successful.
passive
undo passive
FTP client view
None
Use the
command to set the data transmission mode to passive.
passive
Use the
undo passive
The default transmission mode is passive.
# Set the data transmission mode to passive.
[ftp] passive
FTP: passive is on
put localfile [ remotefile ]
FTP client view
localfile: Local file name.
remotefile: Name of the file to be saved on the remote FTP server.
Use the
command to upload a file to the remote FTP server.
put
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.
# 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.
command to set the data transmission mode to active.
2385