HP (Hewlett-Packard) A3100-8 DC EI ユーザーズマニュアル

ページ / 157
 
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 an FTP server 
After the switch 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 “
.” 
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 an FTP connection 
After a switch serving as the FTP client has established a connection with the FTP server, you can perform 
the following operations to locate and diagnose problems encountered in an FTP connection. For more 
information about establishing an FTP connection, see “
.” 
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 
switch acts as the FTP client 
debugging 
Optional 
Disabled by default 
 
Terminating an FTP connection 
After the switch serving as the FTP client has established a connection with the FTP server, you can use 
any of the following commands to terminate an FTP connection. For more information about establishing 
an FTP connection, see “
.” 
89