Open - HP Enterprise FlexFabric 12900E Series Command Reference Manual

Hide thumbs Also See for Enterprise FlexFabric 12900E Series:
Table of Contents

Advertisement

Usage guidelines
You can perform this operation only after you log in to the FTP server.
If the local file does not exist, this command downloads the file from the FTP server and saves it
locally.
If the file on the FTP server is not newer than the local file, this command does not update the local
file.
Examples
# Update the local file with the a.txt file on the FTP server.
ftp> newer a.txt
local: a.txt remote: a.txt
150 Connecting to port 63513
226 File successfully transferred
1573 bytes received in 0.0293 seconds (52.3 kbyte/s)

open

Use
to log in to an FTP server from FTP client view.
open
Syntax
open server-address [ service-port ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
server-address
service-port
default 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
command to log in to another server.
Examples
# In FTP client view, log in to FTP server 192.168.40.7.
<Sysname>ftp
ftp> open 192.168.40.7
Press CTRL+C to abort.
Connected to 192.168.40.7 (192.168.40.7).
220 FTP service ready.
User (192.168.40.7:(none)): root
331 Password required for root.
Password:
230 User logged in.
Remote system type is HPE.
ftp>
: Specifies the IPv4 address, IPv6 address, or host name of the FTP server.
: Specifies the TCP port number of the FTP server, in the range of 0 to 65535. The
109
open

Advertisement

Table of Contents
loading

Table of Contents