Switching to another user account, Maintaining and troubleshooting an ftp connection, Terminating an ftp connection – H3C Technologies H3C S12500 Series Switches User Manual
Page 81

69
Task Command
Remarks
Set the file transfer mode to
binary.
binary
By default, ASCII mode is used.
Set the data transmission mode
to passive.
passive
Passive by default.
Display the local working
directory of the FTP client.
lcd
N/A
Upload a file to the FTP server. put localfile [ remotefile ]
N/A
Download a file from the FTP
server.
get remotefile [ localfile ]
N/A
Switching to another user account
After you log in to the FTP server with one user account, you can switch to another user account to get a
different privilege without reestablishing the FTP connection. You must correctly enter the new username
and password. A wrong username or password can cause the FTP connection to disconnect.
To switch to another user account:
Task Command
Change the username after FTP login.
user username [ password ]
Maintaining and troubleshooting an 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 maintain or debug an FTP connection:
Task Command
Remarks
Display the help information of
FTP-related commands supported by the
remote FTP server.
remotehelp [ protocol-command ]
N/A
Enable information display in a detailed
manner.
verbose
By default, the function is
enabled.
Enable FTP related debugging when the
device acts as the FTP client.
debugging
By default, the function is
disabled.
Terminating an FTP connection
To terminate an FTP connection, perform one of the following tasks:
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches