PMDF User's Guide
UNIX Edition


Previous Contents Index


DIRECTORY

Obtain a directory listing of the available files.

Syntax

DIRECTORY [file-spec]


Parameters

file-spec

Optional file name specification indicating which files to obtain a directory listing of. A directory specification may be used. The usual shell wildcard characters, * and ? , are supported.

Description

The DIRECTORY command provides a directory listing of the available files. The listing is returned to you as a mail message.

The file-spec parameter is optional and, if omitted, defaults to * . If you are unsure of what to use, omit the parameter and send simply the command


DIRECTORY 
This will provide you with a list of the files and directories in the top-level directory of the mail server. You can then use this information to refine your queries; e.g., investigate the contents of an intriguing directory,


DIRECTORY games/* 


Error Messages


%MAILSERV-W-NOFILES, no files found 
      

The supplied file specification does not match any available files.


%MAILSERV-F-NOFILESERV, file service is not enabled 
      

The mail server is not configured to operate as a file server.


%MAILSERV-W-WRITEERR, file writing error 
      

An error occurred while the server was producing your directory listing. Try resending the command at a later time.


Previous Next Contents Index