Pwd - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Parameters
localfile: Specifies the name of the local file to be uploaded.
remotefile: Specifies the file name for saving the uploaded file on the FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To upload a file in the working directory accessed by the ftp command, the localfile argument must
specify a file name such as a.cfg.
To upload a file in some other directory, the localfile argument must specify the target directory plus
the file name such as flash:/subdirectory/a.cfg. Otherwise, the command fails to take effect.
Examples
# Upload the file a.txt in the working directory accessed by the ftp command and save the file as
b.txt on the FTP server.
ftp> put a.txt b.txt
227 Entering Passive Mode (10,153,116,114,11,196)
150 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\b.txt" file ready to receive
in ASCII mode
226 Transfer finished successfully.
45925 bytes sent in 0.00714 seconds (6.13 Mbyte/s)
# Upload the file a.txt in the folder test from the working directory accessed by the ftp command.
Save the file as b.txt on the FTP server.
ftp> put flash:/test/a.txt b.txt
227 Entering Passive Mode (10,153,116,114,11,201)
150 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\b.txt" file ready to receive
in ASCII mode
226 Transfer finished successfully.
1 bytes sent in 0.000522 seconds (1.9 kbyte/s)
# In IRF mode, upload the file a.txt in the Flash root directory of the MPU that resides in slot 17 of
member device 1. Save the file as b.txt on the FTP server.
ftp> put chassis1#slot17#flash:/test/a.txt b.txt
227 Entering Passive Mode (10,153,116,114,11,201)
150 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\b.txt" file ready to receive
in ASCII mode
226 Transfer finished successfully.
1 bytes sent in 0.000522 seconds (1.9 kbyte/s)
Related commands
get

pwd

Use pwd to display the currently accessed directory on the FTP server.
Syntax
pwd
Views
FTP client view
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents