R3303-HP HSR6800 Routers Fundamentals Command Reference
72
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
# In standalone mode, upload source file vrpcfg.cfg on the active MPU to the remote FTP server and save
it as ftpclient.cfg.
[ftp] put vrpcfg.cfg ftpclient.cfg
227 Entering Passive Mode (192,168,1,46,4,50).
125 ASCII mode data connection already open, transfer starting for /ftpclient.cfg.
226 Transfer complete.
FTP: 1366 byte(s) sent in 0.064 second(s), 21.00Kbyte(s)/sec.
# In IRF mode, upload the source file a.cfg from the standby MPU that resides in slot 1 of member device
2 to the remote FTP server and save it as ftpclienta.cfg.
[ftp] put chassis2#slot1#cfa0:/a.cfg ftpclienta.cfg
227 Entering Passive Mode (192,168,1,46,4,52).
125 ASCII mode data connection already open, transfer starting for /ftpclienta.cfg.
226 Transfer complete.
FTP: 1226 byte(s) sent in 0.065 second(s), 18.00Kbyte(s)/sec.
pwd
Use pwd to display the current directory on the remote FTP server.
Syntax
pwd
Views
FTP client view
Default command level
3: Manage level
Examples
# Display the current directory on the remote FTP server.
[ftp] cd servertemp
[ftp] pwd