HP VPN Firewall Appliances System Management and Maintenance Command Reference
255
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.
remotefile: File name used after a file is uploaded and saved on the FTP server.
Usage guidelines
When a file is uploaded, it is saved in the user's authorized directory, which can be set with the
authorization-attribute command on the remote server.
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.00 byte(s)/sec.