78
Parameters
server-address
: IP address or host name of an FTP server.
service-port
: Port number of the FTP server, in the range of 0 to 65535. The default value is 21.
Usage guidelines
At login, you must enter the correct username and password.
If you have logged in to one IPv4 FTP server, you cannot use the
open
command to log in to another
server. To do so, 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 FTP server.
service-port
:
Port number of the 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
.