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
Содержание 4200G 12-Port
Страница 10: ...8 CONTENTS...
Страница 14: ...4 ABOUT THIS GUIDE...
Страница 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Страница 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Страница 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Страница 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Страница 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Страница 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Страница 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Страница 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Страница 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Страница 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Страница 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Страница 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Страница 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Страница 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Страница 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Страница 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Страница 366: ...352 CHAPTER 39 INFORMATION CENTER...
Страница 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Страница 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Страница 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Страница 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...
Страница 422: ...408 CHAPTER 48 UDP HELPER CONFIGURATION...