F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
253
Usage guidelines
You must have permissions to perform this operation on the FTP server.
Examples
# Create subdirectory mytest in the current directory of the remote FTP server.
[ftp] mkdir mytest
257 "/mytest" new directory created.
[ftp]
open
Use open to log in to the IPv4 FTP server under FTP client view.
Syntax
open server-address [ service-port ]
Views
FTP client view
Default command 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 of 0 to 65535. The default value is 21.
Usage guidelines
At login, enter the username and password. If your input is correct, the login succeeds.
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