3Com Switch 7750 Series
Command Reference Guide – FTP and TFTP
Chapter 1 FTP and TFTP Configuration Commands
1-17
[ftp]
# Create the directory flash:/lanswitch on the FTP server.
[ftp] mkdir flash:/lanswitch
257 "flash:/ lanswitch" new directory created.
1.2.16 open
Syntax
open
{
ip-address
|
server-name
} [
port
]
View
FTP client view
Parameter
ip-address
: IP address of an FTP server.
server-name
: Host name of the FTP server, a string comprising 1 to 20 characters.
port
: Port number on the remote FTP server, ranging from 0 to 65535. The default value
is 21.
Description
Use the
open
command to establish a control connection with an FTP server.
Related command:
close
.
Example
# Enter FTP client view.
<3Com> ftp
[ftp]
# Establish a control connection with the FTP server whose IP address is 1.1.1.1.
[ftp]open 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220-
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):abc
331 Give me your password, please
Password:
230 Logged in successfully