HPlogo HP ARPA File Transfer Protocol User's Guide: HP 3000 MPE/iX Computer Systems > Appendix A MPE/iX and POSIX Differences

Listing MPE/iX or POSIX Files

» 

Technical documentation

» Feedback

 » Table of Contents

 » Glossary

 » Index

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 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 A-8 Example 1:

This example specifies a file name qualified from the Root (/).

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 RECORD ------------ ---- SPACE ---- FILENAME
     SIZE    TYP    EOF    LIMIT    R/B      SECTORS   #X   MX   
80B FA 13735 13735 16 4304 17 * *CATALOG
226 Transfer complete.
228 bytes received in 0.01 seconds (24.74 Kbytes/sec)

Example A-9 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.

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 RECORD ------------ ---- SPACE ---- FILENAME
     SIZE    TYP    EOF    LIMIT    R/B      SECTORS   #X   MX   
80B FA 13735 13735 16 4304 17 * *CATALOG
226 Transfer complete.
228 bytes received in 0.02 seconds (13.92 Kbytes/sec)
Feedback to webmaster