FTP Configuration
335
FTP services are implemented in this way: An FTP client sends FTP requests to the FTP
server. The FTP server receives the requests, perform operations accordingly, and
return the results to the FTP client.
To prevent unauthorized accesses, an FTP server disconnects a FTP connection when it
does not receive requests from the FTP client for a specific period of time known as
the connection idle time.
To log into an FTP server, a user needs to provide a user name and a password for
being authenticated, and the FTP server authorizes the FTP client by providing the
information about work directory. FTP services are available to users only when they
pass the authentication and authorization.
Displaying and debugging an FTP server
After the above configurations, you can run the
display
command in any view to
view the running information of the FTP server and verify your configurations.
FTP Configuration: A
Switch Operating as an
FTP Client
The function for a switch to operate as an FTP client is implemented by an application
module built in the switch. A switch can operate as an FTP client without any
configuration. You can perform FTP-related operations (such as creating/removing a
directory) by executing FTP client commands on a switch operating as an FTP client.
Table 292 lists the operations that can be performed on an FTP client.
Table 291
Display and debug an FTP server
Operation
Command
Display the information about an FTP server
display ftp-server
Display the information about FTP clients
display ftp-user
Table 292
FTP client operations
Operation
Command
Description
Enter FTP Client view
ftp
[
ip-address
[
port-number ]
]
Specify to transfer files
in ASCII characters
ascii
Optional
By default, files are transferred in
ASCII characters.
Specify to transfer files
in binary streams
binary
Optional
Set the data transfer
mode to passive
passive
Optional
By default, the passive mode is
adopted.
Change the work
directory on the remote
FTP server
cd
pathname
Optional
Change the work
directory to be the
parent directory
cdup
Optional
Get the local work path
on the FTP client
lcd
Optional
Display the work
directory on the FTP
server
pwd
Optional
Create a directory on
the remote FTP server
mkdir
pathname
Optional
Remove a directory on
the remote FTP server
rmdir
pathname
Optional
Delete a specified file
delete
remotefile
Optional
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...