open

Use open to log in to the FTP server in FTP client view.

Syntax

open server-address [ service-port ]

Views

FTP client view

Predefined user roles

network-admin

mdc-admin

Parameters

server-address: Specifies the IP address or host name of the FTP server.

service-port: Specifies the TCP port number of the FTP server, in the range of 0 to 65535. The default value is 21.

Usage guidelines

After you issue this command, the system will prompt you to enter the username and password.

After you log in to one FTP server, you must disconnect from the server before you can use the open command to log in to another server.

Examples

# In FTP client view, log in to the FTP server 192.168.40.7.

<Sysname>ftp
ftp: No control connection for command.
ftp> open 10.153.116.114
Press CTRL+C to abort.
Connected to 10.153.116.114 (10.153.116.114).
220-
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (10.153.116.114:(none)): cs
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
ftp>