R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
240
passive
Syntax
passive
undo passive
View
FTP client view
Default level
3: Manage level
Parameters
None
Description
Use passive to set the data transmission mode to passive.
Use undo passive to set the data transmission mode to active.
The default transmission mode is passive.
Data transmission modes fall into the passive mode and the active mode. The active mode specifies the
server to initiate connection requests. The passive mode specifies the client to initiate connection requests.
This command is mainly used in conjunction with a firewall to restrict FTP connections between private
and public network users.
Examples
# Set the data transmission mode to passive.
[ftp] passive
FTP: passive is on
put
Syntax
put localfile [ remotefile ]
View
FTP client view
Default level
3: Manage level
Parameters
localfile: Name of the local file to be uploaded.
remotefile: File name used after a file is uploaded and saved on the FTP server.
Description
Use put to upload a file on the client to the remote FTP server.
By default, if no name is assigned to the file to be saved on the FTP server, the name of the source file is
used.