R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

197
Task Command
Remarks
Display detailed information about
a directory or file on the remote FTP
server.
dir [ remotefile
[ localfile ] ]
The ls command displays the name of a
directory or file only, while the dir
command displays detailed information
such as the file size and creation time.
Query a directory or file on the
remote FTP server.
ls [ remotefile [ localfile ] ]
The ls command displays the name of a
directory or file only, while the dir
command displays detailed information
such as the file size and creation time.
Delete the specified file on the
remote FTP server permanently.
delete remotefile N/A
Set the file transfer mode to ASCII.
ascii
ASCII by default.
Set the file transfer mode to binary. binary ASCII by default.
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
Using another username to log in to the FTP server
After the firewall 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."
T
his feature allows you to switch to different user levels without affecting the current FTP connection; if you
enter an incorrect username or password, the current connection will be terminated, and you must log in
again to access the FTP server.
To use another username to log in to the FTP server:
Task Command
Use another username to re-log in after successfully
logging in to the FTP server.
user username [ password ]
Maintaining and troubleshooting the 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 Enabled by default.
Enable FTP related debugging when the firewall
acts as the FTP client.
debugging Disabled by default.