HP 6125G Command Reference Manual page 77

6125 blade switch series fundamentals command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Examples
# Display the local working directory.
[ftp] lcd
FTP: Local directory now flash:/clienttemp.
The output shows that the working directory of the FTP client before execution of the ftp command is
flash:/clienttemp.
ls
Syntax
ls [ remotefile [ localfile ] ]
View
FTP client view
Default 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.
Description
Use ls to display information about all files and subdirectories under the remote FTP server's current
working directory. The file names and subdirectory names are displayed.
Use ls remotefile to display information about a specific file or subdirectory.
Use ls remotefile localfile to save information about a specific file or subdirectory to a local file.
The ls command displays only the names of files and directories on the FTP server. The dir command can
display other related information of the files and directories, such as the size and the date they were
created.
Examples
# Display information about all files and subdirectories under the FTP server's current working directory.
[ftp] ls
227 Entering Passive Mode (192,168,1,50,17,165).
125 ASCII mode data connection already open, transfer starting for /*.
ar-router.cfg
logfile
mainar.bin
arbasic.bin
ftp
test
bb.cfg
testcfg.cfg
226 Transfer complete.
FTP: 87 byte(s) received in 0.132 second(s) 659.00 byte(s)/sec.
# Display information about all files and subdirectories under the subdirectory logfile of the FTP server's
current working directory.
70

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125g/xg

Table of Contents