R3303-HP HSR6800 Routers Fundamentals Command Reference
70
If you have logged in to the IPv4 FTP server, you cannot use the open command to log in to another server.
To do so, you must disconnect from the current server first.
Examples
# In FTP client view, log in to the FTP server at 192.168.1.50.
<Sysname> ftp
[ftp] open 192.168.1.50
Trying 192.168.1.50 ...
Press CTRL+K to abort
Connected to 192.168.1.50.
220 FTP service ready.
User(192.168.1.50:(none)):aa
331 Password required for aa.
Password:
230 User logged in.
[ftp]
Related commands
close
open ipv6
Use open ipv6 to log in to the IPv6 FTP server in FTP client view.
Syntax
open ipv6 server-address [ service-port ] [ -i interface-type interface-number ]
Views
FTP client view
Default command level
3: Manage level
Parameters
server-address: IP address or host name of the remote FTP server.
service-port: Port number of the remote FTP server, in the range of 0 to 65535. The default value is 21.
-i interface-type interface-number: Specifies an output interface by its type and number. This parameter
can be used only when the FTP server address is a link local address and the specified output interface
has a link local address. For the configuration of link local addresses, see Layer 3—IP Services
Configuration Guide.
Usage guidelines
At login, enter the username and password for accessing the FTP server. If your input is correct, the login
succeeds.
Examples
# Log in to the FTP server at 3000::200 in FTP client view.
<Sysname> ftp
[ftp] open ipv6 3000::200