Open - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

localfile: Specifies the name of the local file to be updated.
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 remote 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 file a.txt on the FTP server.
ftp> newer a.txt
227 Entering Passive Mode (10,153,116,114,11,190)
150 "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\desk\125X\a.txt" file ready to send
(1 bytes) in IMAGE / Binary mode
226 Transfer finished successfully.
1 bytes received in 0.00268 seconds (374 byte/s)

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
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents