Previous | Contents | Index |
Obtain a directory listing of the available files.
DIRECTORY [file-spec]
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.
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
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
DIRECTORY games/*
%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 |