R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference
72
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
# On the 6602/HSR6602 router, 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.
# On the 6604/6608/6616 router, 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.
# On the 6604/6608/6616 router, upload source file a.cfg on the standby MPU (in slot 1) to the remote
FTP server and save it as ftpclienta.cfg.
[ftp] put 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
257 "/servertemp" is current directory.
The output shows that you are accessing the servertemp folder in the FTP root directory.










