Open - HP FlexFabric 12900 series Command Reference Manual

Hide thumbs Also See for FlexFabric 12900 series:
Table of Contents

Advertisement

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
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.
93

Advertisement

Table of Contents
loading

Table of Contents