passive
Use passive to set the FTP operation mode to passive.
Syntax
passive
Default
The FTP operation mode is passive.
Views
FTP client view
Predefined user roles
network-admin
mdc-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.
You can use this command multiple times to change between active and passive modes.
This command is mainly used together with a firewall to control FTP session establishment between private network users and public network users.
Examples
# Set the FTP operation mode to passive.
ftp> passive Passive mode on. ftp> passive Passive mode off.