F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
255
Related commands
close
passive
Use passive to set the FTP operation mode to passive.
Use undo passive to set the FTP operation mode to active.
Syntax
passive
undo passive
Default
The FTP operation mode is passive.
Views
FTP client view
Default command level
3: Manage level
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.
Examples
# Set the FTP operation mode to passive.
[ftp] passive
FTP: passive is on
[ftp]
put
Use put to upload a file on the client to the remote FTP server.
Syntax
put localfile [ remotefile ]
Default
If no name is assigned to the file to be saved on the FTP server, the name of the source file is used.
Views
FTP client view
Default command level
3: Manage level
Parameters
localfile: Name of the local file to be uploaded.