Listing MPE/iX or POSIX Files [ HP ARPA File Transfer Protocol User's Guide ] MPE/iX 5.0 Express III Documentation
HP ARPA File Transfer Protocol User's Guide
Listing MPE/iX or POSIX Files
Earlier versions of the MPE/iX LISTF command may not report files in the
POSIX name space; the LISTFILE command must be used instead. The FTP/iX
client's LS and DIR commands provide a means to list the files on the
remote host (refer to earlier sections of this manual for syntax and
usage of these commands). If no file set is specified, the default is
(./@). To list files located on the clients host, use either ":listf
<parms>" or ":listfile <parms>". Refer to the MPE/iX Commands Reference
Manual (32650-60002) for command syntax and usage.
A POSIX file name can be fully qualified from the Root (/), qualified
from the current working directory (./) or qualified from the parent of
the current working directory (../).
Example 1:
This example specifies a file name qualified from the Root (/).
Table A-9.
--------------------------------------------------------------------------------------------------
| |
| ftp> pwd 257-"/SYS/PUB" is the current directory. 257 ",MANAGER.SYS,PUB" |
| is the current session. |
| |
--------------------------------------------------------------------------------------------------
| |
| ftp> dir /SYS/PUB/CATALOG 200 PORT command ok. 150 File: LISTFILE |
| /SYS/PUB/CATALOG,2 opened; data connection will be opened |
| |
--------------------------------------------------------------------------------------------------
| | | | |
| | PATH= /SYS/PUB/ CODE ------------LOGICAL | ----- SPACE ----- | FILENAME |
| | RECORD ------------ | | |
| | | | |
--------------------------------------------------------------------------------------------------
| | | | | | | | | | | |
| | | SIZE | TYP FA | EOF | LIMIT | R/B 16 | SECTORS | #X | MX * | *CATALOG |
| | | 80B | | 13735 | 13735 | | 4304 | 17 | | |
| | | | | | | | | | | |
--------------------------------------------------------------------------------------------------
| |
| 226 Transfer complete. 228 bytes received in 0.01 seconds (24.74 |
| Kbytes/sec) |
| |
--------------------------------------------------------------------------------------------------
Example 2:
This example specifies a file name qualified from the current working
directory "cwd". It is the same file as used in the previous example.
Table A-10.
--------------------------------------------------------------------------------------------------
| |
| ftp> pwd 257-"/SYS/PUB" is the current directory. 257 ",MANAGER.SYS,PUB" |
| is the current session. |
| |
--------------------------------------------------------------------------------------------------
| |
| ftp> dir ./CATALOG 200 PORT command ok. 150 File: LISTFILE ./CATALOG,2 |
| opened; data connection will be opened |
| |
--------------------------------------------------------------------------------------------------
| | | | |
| | PATH= /SYS/PUB/ CODE ------------LOGICAL | ----- SPACE ----- | FILENAME |
| | RECORD ------------ | | |
| | | | |
--------------------------------------------------------------------------------------------------
| | | | | | | | | | | |
| | | SIZE | TYP FA | EOF | LIMIT | R/B 16 | SECTORS | #X | MX * | *CATALOG |
| | | 80B | | 13735 | 13735 | | 4304 | 17 | | |
| | | | | | | | | | | |
--------------------------------------------------------------------------------------------------
| |
| 226 Transfer complete. 228 bytes received in 0.02 seconds (13.92 |
| Kbytes/sec) |
| |
--------------------------------------------------------------------------------------------------
MPE/iX 5.0 Express III Documentation