HP VPN Firewall Appliances System Management and Maintenance Command Reference

251
Views
FTP client view
Default command level
3: Manage level
Examples
# Display the local working directory.
[ftp] lcd
FTP: Local directory now cfa0:/clienttemp.
The output shows that the working directory of the FTP client before execution of the ftp command is
cfa0:/clienttemp.
ls
Use ls to list files and subdirectories in the current directory of the FTP server.
Use ls remotefile to list files under a specific subdirectory or verify the existence of a file in the current
directory of the FTP server.
Use ls remotefile localfile to save the name of a file or the list of files under a specific subdirectory to a
local file.
Syntax
ls [ remotefile [ localfile ] ]
Views
FTP client view
Default command level
3: Manage level
Parameters
remotefile: Filename or directory on the remote FTP server.
localfile: Name of a local file used to save the displayed information.
Usage guidelines
The ls command displays only the names of files and directories on the FTP server. The dir command
displays more information about the files and directories, such as the size and the creation date.
Examples
# List all files and subdirectories in the current directory of the FTP server.
[ftp] ls
227 Entering Passive Mode (192,168,1,50,17,165).
125 ASCII mode data connection already open, transfer starting for /*.
router.cfg
logfile
mainar.bin
arbasicbtm.bin
ftp
test