110
string of 1 to 31 characters. If the FTP server belongs to the public network, do not specify this
option.
-i interface-type interface-number: Specifies an output interface by its type and number. This option
can be used only when the FTP server address is a link local address and the specified output
interface has a link local address.
Usage guidelines
This command is only applicable to IPv6 networks.
If no parameters are specified, this command enters the FTP client view.
If the FTP server parameters are specified, you are prompted to enter the username and password
for logging in to the FTP server.
Examples
# Log in to FTP server 2000::154.
<Sysname>ftp ipv6 2000::154
Press CTRL+C to abort.
Connected to 2000::154 (2000::154).
220 FTP service ready.
User (2000::154): root
331 Password required for root.
Password:
230 User logged in
Remote system type is HPE
get
Use get to download a file from the FTP server and save the file.
Syntax
get remotefile [ localfile ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
remotefile: Specifies the file to be downloaded.
localfile: Specifies a name for the downloaded file. If you do not specify this argument, the system
uses the name of the source file.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To save the downloaded file to the working directory accessed by the ftp command, perform one of
the following tasks:
• Execute the command without specifying the localfile argument.
• Specify a file name without any path information for the localfile argument, for example, a.cfg.
To save the downloaded file to some other directory, you must specify a fully qualified file name for
the localfile argument, for example, flash:/subdirectory/a.cfg.