HP VPN Firewall Appliances System Management and Maintenance Command Reference
252
bb.cfg
testcfg.cfg
226 Transfer complete.
FTP: 87 byte(s) received in 0.132 second(s) 659.00 byte(s)/sec.
# List all files in subdirectory logfile.
[ftp] ls logfile
227 Entering Passive Mode (192,168,1,50,10,49).
125 ASCII mode data connection already open, transfer starting for /logfile/*.
logfile.log
a.cfg
226 Transfer complete.
FTP: 20 byte(s) received in 0.075 second(s), 266.00 byte(s)/sec. .
# Save the names of all files in subdirectory logfile to file aa.txt.
[ftp] ls logfile aa.txt
227 Entering Passive Mode (192,168,1,50,4,3).
125 ASCII mode data connection already open, transfer starting for /logfile/*.
....226 Transfer complete.
FTP: 20 byte(s) received in 3.962 second(s), 5.00 byte(s)/sec.
# View the content of file aa.txt.
[ftp] quit
221 Server closing.
<Sysname> more aa.txt
logfile.log
a.cfg
<Sysname>
mkdir
Use mkdir to create a subdirectory in the current directory on the remote FTP server.
Syntax
mkdir directory
Views
FTP client view
Default command level
3: Manage level
Parameters
directory: Name of the directory to be created.
Usage guidelines
You must have permissions to perform this operation on the FTP server.
Examples
# Create subdirectory mytest in the current directory of the remote FTP server.