Open - H3C WX Series Command Reference Manual

Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

Examples
Create subdirectory mytest on the current directory of the remote FTP server.
[ftp] mkdir mytest
257 "/mytest" new directory created.

open

Syntax
open server-address [ service-port ]
View
FTP client view
Default Level
3: Manage level
Parameters
server-address: IP address or host name of a remote FTP server.
service-port: Port number of the remote FTP server, in the range 0 to 65535, with the
default value of 21.
Description
Use the open command to log in to the IPv4 FTP server under FTP client view.
At login, you are asked to enter the username and password for accessing the FTP
server. If your input is correct, the login succeeds; otherwise, it fails.
If you have logged in to the IPv4 FTP server currently, you cannot use the open
command to log in to another server. You must disconnect with the current server first,
and then try to connect with another one.
Related commands: close.
Examples
In FTP client view, log in to the FTP server with the IP address of 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.
58

Advertisement

Table of Contents
loading

Table of Contents