beautypg.com

Maintaining and debugging an ftp connection, Terminating an ftp connection, Ftp client configuration example – H3C Technologies H3C S5120 Series Switches User Manual

Page 271: Network requirements

background image

1-6

Follow the step below to use another username to log in to the FTP server:

To do…

Use the command…

Remarks

Use another username to relog in after
successfully logging in to the FTP server

user username [ password ]

Optional

Maintaining and Debugging an FTP Connection

After a device serving as the FTP client has established a connection with the FTP server (For how to

establish an FTP connection, refer to

Establishing an FTP Connection

.), you can perform the following

operations to locate and diagnose problems encountered in an FTP connection:

To do…

Use the command…

Remarks

Display the help information of
FTP-related commands supported
by the remote FTP server

remotehelp [ protocol-command ]

Optional

Enable information display in a
detailed manner

verbose

Optional

Enabled by default

Enable FTP related debugging when
the device acts as the FTP client

debugging

Optional

Disabled by default

Terminating an FTP Connection

After the device serving as the FTP client has established a connection with the FTP server (For how to

establish an FTP connection, refer to

Establishing an FTP Connection

.), you can use any of the

following commands to terminate an FTP connection:

To do…

Use the command…

Remarks

Terminate the connection to the FTP
server without exiting FTP client view

disconnect

Optional

Equal to the close
command.

Terminate the connection to the FTP
server without exiting FTP client view

close

Optional

Equal to the disconnect
command.

Terminate the connection to the FTP
server and return to user view

bye

Optional

Equal to the quit command
in FTP client view.

Terminate the connection to the FTP
server and return to user view

quit

Optional

Available in FTP client view,
equal to the bye command.

FTP Client Configuration Example

Network requirements

z

As shown in

Figure 1-2

, use Device as an FTP client and PC as the FTP server. Their IP addresses

are 10.2.1.1/16 and 10.1.1.1/16 respectively. An available route exists between Device and PC.