beautypg.com

Using another username to log in to the ftp server, Maintaining and debugging the ftp connection, Terminating an ftp connection – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 228

background image

213

To do…

Use the command…

Remarks

Set the file transfer mode to
binary

binary

Optional
ASCII by default.

Set the data transmission mode
to passive

passive

Optional
Passive by default.

Display the local working
directory of the FTP client

lcd

Optional

Upload a file to the FTP server

put localfile [ remotefile ]

Optional

Download a file from the FTP
server

get remotefile [ localfile ]

Optional

Using another username to log in to the FTP server

After the device serving as the FTP client has established a connection with the FTP server, you can use

another username to log in to the FTP server. For more information about establishing an FTP connection,

see “

Establishing an FTP connection

.”

This feature allows you to switch to different user levels without affecting the current FTP connection; if you

input an incorrect username or password, the current connection will be terminated, and you must log in

again to access the FTP server.
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 re-log in after
successfully logging in to the FTP server

user username [ password ]

Optional

Maintaining and debugging the FTP connection

After a device serving as the FTP client has established a connection with the FTP server, you can perform

the following operations to locate and diagnose FTP connection problems. For more information about

establishing an FTP connection, see “

Establishing 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, you can use

any of the following commands to terminate the FTP connection. For more information about establishing

an FTP connection, see “

Establishing an FTP connection

.”